gabberr
gabberr
Our workaround was to declare `jest.mock` in another file and then import it in the test.
@diego-aquino here: Create a file 'src/mocks/bunny.ts': ```js const mockedBunny = jest.fn() jest.mock( 'actual/bunny/file', () => mockedBunny ) export default mockedBunny ``` Inside the test where you want to mock Bunny:...
@th3fallen have you tried https://github.com/swc-project/jest/issues/14#issuecomment-970189585 ? @kdy1 The mentioned fix that closes this ticket was actually reverted, should this be reopened?
We are having the same issue. Console log is spammed with the missing sameSite warnings. On v7.1, `areCookiesEnabled` is to blame: * It tries to use Constants.COOKIE_TEST which is undefined...
The use of `instanceof ArrayBuffer` is also problematic in Safari. Checking `instanceof` of an ArrayBuffer in the window context will return false for ArrayBuffers created in a different context, e.g....