Skip to content

resetAllMocks now available in bun #77

resetAllMocks now available in bun

resetAllMocks now available in bun #77

Triggered via pull request December 2, 2023 09:43
@krislkrisl
synchronize #10
tests
Status Failure
Total duration 44s
Artifacts

node.js.yml

on: pull_request
Matrix: build-node
Matrix: build-bun
report-coverage
5s
report-coverage
Fit to window
Zoom out
Zoom in

Annotations

7 errors
TypeError: jest.resetAllMocks is not a function. (In 'jest.resetAllMocks()': src/graph.test.ts#L1250
at /home/runner/work/graferse/graferse/src/graph.test.ts:1250:12
error: expect(received).not.toHaveBeenCalled(): src/graph.test.ts#L1341
Expected: not [ [ "Who is trying to lock a non-bidir link?", { byWhom: "test", direction: "up" } ] ] at /home/runner/work/graferse/graferse/src/graph.test.ts:1341:8
build-bun (latest)
Process completed with exit code 1.
build-bun (canary)
The job was canceled because "latest" failed.
TypeError: jest.resetAllMocks is not a function. (In 'jest.resetAllMocks()': src/graph.test.ts#L1250
at /home/runner/work/graferse/graferse/src/graph.test.ts:1250:12
error: expect(received).not.toHaveBeenCalled(): src/graph.test.ts#L1341
Expected: not [ [ "Who is trying to lock a non-bidir link?", { byWhom: "test", direction: "up" } ] ] at /home/runner/work/graferse/graferse/src/graph.test.ts:1341:8
build-bun (canary)
Process completed with exit code 1.