GitHub Actions / Tests annotations (🧪 jest-coverage-report-action)
failed
Nov 8, 2024 in 0s
Test suite run failed
Failed tests: 1/132. Failed suites: 1/8.
Details
Created failed tests' annotations. To disable them, see documentation.
● getCurrentUIData › returns selectedUIDisplayData if colorSetting is equal to ColorSetting.UserSelected
expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
Object {
- "color": "#000",
+ "color": "#bbbbbb",
"displayStates": Array [],
"name": "agent1",
},
]
33 | },
34 | })
> 35 | ).toEqual([
| ^
36 | {
37 | name: "agent1",
38 | displayStates: [],
at Object.<anonymous> (src/state/compoundSelectors/compoundSelectors.test.ts:35:11)
Annotations
Check failure on line 9 in src/state/compoundSelectors/compoundSelectors.test.ts
github-actions / Tests annotations (🧪 jest-coverage-report-action)
getCurrentUIData > returns selectedUIDisplayData if colorSetting is equal to ColorSetting.UserSelected
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
Object {
- "color": "#000",
+ "color": "#bbbbbb",
"displayStates": Array [],
"name": "agent1",
},
]
at Object.<anonymous> (/Users/runner/work/simularium-website/simularium-website/src/state/compoundSelectors/compoundSelectors.test.ts:35:11)
at Promise.then.completed (/Users/runner/work/simularium-website/simularium-website/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/Users/runner/work/simularium-website/simularium-website/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/Users/runner/work/simularium-website/simularium-website/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/Users/runner/work/simularium-website/simularium-website/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/Users/runner/work/simularium-website/simularium-website/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/Users/runner/work/simularium-website/simularium-website/node_modules/jest-circus/build/run.js:121:9)
at run (/Users/runner/work/simularium-website/simularium-website/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/Users/runner/work/simularium-website/simularium-website/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/Users/runner/work/simularium-website/simularium-website/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:76:19)
at runTestInternal (/Users/runner/work/simularium-website/simularium-website/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/Users/runner/work/simularium-website/simularium-website/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/Users/runner/work/simularium-website/simularium-website/node_modules/jest-runner/build/testWorker.js:106:12)
Loading