Closed alexfarrill closed 1 year ago
Example of typescript error in jest test: property 'toHaveBeenCalledWith' does not exist on type 'Assertion'. ts(2339)
The tsconfig change in 4fe6211ac72de5ed2e9f1e7c78913a9fba76fb4e is related
Expected behavior:
Related googles:
i think cypress like clobbers the ones from jest if you put import { expect } from "@jest/globals"; at the start of test files it fixes the issue
Example of typescript error in jest test: property 'toHaveBeenCalledWith' does not exist on type 'Assertion'. ts(2339)
The tsconfig change in 4fe6211ac72de5ed2e9f1e7c78913a9fba76fb4e is related
Expected behavior:
Related googles:
i think cypress like clobbers the ones from jest if you put import { expect } from "@jest/globals"; at the start of test files it fixes the issue