Skip to content

chore: add integration tests of openchemlib-utils (#246) #365

chore: add integration tests of openchemlib-utils (#246)

chore: add integration tests of openchemlib-utils (#246) #365

Triggered via push February 6, 2025 14:08
Status Failure
Total duration 4m 26s
Artifacts 1

nodejs.yml

on: push
Matrix: test
Integration with openchemlib-utils
2m 44s
Integration with openchemlib-utils
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 6 warnings
src/features/__tests__/getAtomFeatures.test.js > getAtomFeatures > c1ccccc1: src/features/__tests__/getAtomFeatures.test.js#L39
AssertionError: expected { 'eM@HtB': 6 } to strictly equal { 'eM@HpB': 6 } - Expected + Received { - "eM@HpB": 6, + "eM@HtB": 6, } ❯ src/features/__tests__/getAtomFeatures.test.js:39:22
src/features/__tests__/getAtomFeatures.test.js > getAtomFeatures > c1ccccc1CC: src/features/__tests__/getAtomFeatures.test.js#L47
AssertionError: expected { 'eM@HtB': 5, 'gC`@HzPD': 1, …(2) } to strictly equal { 'eM@HpB': 5, 'gC`@HxPD': 1, …(2) } - Expected + Received { "eF@HpP": 1, - "eM@HpB": 5, + "eM@HtB": 5, "eM@HzB": 1, - "gC`@HxPD": 1, + "gC`@HzPD": 1, } ❯ src/features/__tests__/getAtomFeatures.test.js:47:22
src/hose/__tests__/getHoseCodes.test.js > getHoseCodes > Hc1ccccc1: src/hose/__tests__/getHoseCodes.test.js#L32
AssertionError: expected 9 to be 6 // Object.is equality - Expected + Received - 6 + 9 ❯ src/hose/__tests__/getHoseCodes.test.js:32:30
Integration with openchemlib-utils
Process completed with exit code 1.
lint: __tests__/smiles_parser.test.js#L83
Unexpected 'todo' comment: 'TODO: Find a SMILES that goes through...'
lint: lib/canvas_editor/clipboard_handler.js#L10
Unexpected 'todo' comment: 'TODO: find a way to implement this in a...'
lint: lib/canvas_editor/events.js#L14
Unexpected 'todo' comment: 'TODO: remove this to implement popup...'
lint: lib/canvas_editor/ui_helper.js#L35
Unexpected 'todo' comment: 'TODO: implement help dialog?'
lint: scripts/openchemlib/classes.js#L363
Unexpected 'todo' comment: 'TODO: find replacements'
lint: types.d.ts#L3575
Unexpected 'todo' comment: 'TODO'

Artifacts

Produced during runtime
Name Size
build-integration
3.14 MB