Closed michielbdejong closed 1 month ago
$ VERBOSE=1 node --experimental-vm-modules ./node_modules/jest/bin/jest.js __tests__/SingleThread.test.ts > issue-46.txt
(node:20915) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
FAIL __tests__/SingleThread.test.ts
SingleThread
✕ finds loops (2809 ms)
● SingleThread › finds loops
expect(received).toEqual(expected) // deep equality
Expected: 31
Received: 77
8 | const threadRunner = new SingleThread({ sarafuFile: SARAFU_CSV, numWorkers: 1 });
9 | const finalProbeId = await threadRunner.runAllWorkers();
> 10 | expect(finalProbeId).toEqual(31);
| ^
11 | expect(await threadRunner.solutionIsComplete()).toEqual(true);
12 | });
13 | });
at Object.<anonymous> (__tests__/SingleThread.test.ts:10:26)
Test Suites: 1 failed, 1 total
Tests: 1 failed, 1 total
Snapshots: 0 total
Time: 4.054 s
Ran all test suites matching /__tests__\/SingleThread.test.ts/i.
needs some debugging deep-dive, tomorrow.