Skip to content
GitHub Actions / Jest Tests failed Oct 3, 2024 in 1s

3 passed, 1 failed and 0 skipped

Tests failed

❌ reports/jest-junit.xml

4 tests were completed in 2s with 3 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
distrib() 3✅ 1❌ 2s

❌ distrib()

distrib() groups 1 value into 1 group
  ✅ distrib() groups 1 value into 1 group
distrib() groups 10 equal values into 4 groups
  ✅ distrib() groups 10 equal values into 4 groups
distrib() groups 6 big values and 6 small values into 3 groups
  ✅ distrib() groups 6 big values and 6 small values into 3 groups
distrib() groups 1 big number, 1 medium and 4 small into 2 groups
  ❌ distrib() groups 1 big number, 1 medium and 4 small into 2 groups
	Error: expect(received).toEqual(expected) // deep equality

Annotations

Check failure on line 20 in tests/spec.ts

See this annotation in the file changed.

@github-actions github-actions / Jest Tests

distrib() ► distrib() groups 1 big number, 1 medium and 4 small into 2 groups ► distrib() groups 1 big number, 1 medium and 4 small into 2 groups

Failed test found in:
  reports/jest-junit.xml
Error:
  Error: expect(received).toEqual(expected) // deep equality
Raw output
Error: expect(received).toEqual(expected) // deep equality

- Expected  - 0
+ Received  + 1

@@ -5,7 +5,8 @@
    ],
    Array [
      10,
      5,
      5,
+     5,
    ],
  ]
    at Object.<anonymous> (/home/runner/work/distrib/distrib/tests/spec.ts:20:50)
    at Promise.then.completed (/home/runner/work/distrib/distrib/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/distrib/distrib/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/distrib/distrib/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/distrib/distrib/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/distrib/distrib/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/distrib/distrib/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/distrib/distrib/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/distrib/distrib/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/distrib/distrib/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/distrib/distrib/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/distrib/distrib/node_modules/jest-runner/build/runTest.js:444:34)