Add failing test for `request for ... is not yet fulfilled`
Summary
This is a test for https://github.com/facebook/jest/issues/11434
Perfect, thanks @nicolo-ribaudo! I'll try to find the time soonish to dig into this
@nicolo-ribaudo You apparently need to update test snapshots for e2e/__tests__/nativeEsm.test.ts:
e2e/__tests__/nativeEsm.test.ts and snapshots
https://github.com/facebook/jest/blob/e1fa70b85544f72654082fc02d77683ef65b277a/e2e/__tests__/__snapshots__/nativeEsm.test.ts.snap#L11-L17https://github.com/facebook/jest/blob/e1fa70b85544f72654082fc02d77683ef65b277a/e2e/__tests__/nativeEsm.test.ts#L23-L36
The test will fail regardless (or rather, the snapshot will then encode a failing test as correct, which it's not 🙂 )
FWIW, I believe the underlying issue here is one of the ones tracked in https://github.com/nodejs/node/issues/37648 (specifically the shared cache thing), so I'm waiting for that to be resolved upstream before spending more time on it in Jest
Deploy Preview for jestjs ready!
Built without sensitive environment variables
| Name | Link |
|---|---|
| Latest commit | 7a52abdcb1d153e5f4a6fd546e25ea814630573f |
| Latest deploy log | https://app.netlify.com/projects/jestjs/deploys/682ef0b379771f0008783527 |
| Deploy Preview | https://deploy-preview-11437--jestjs.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify project configuration.
Is this still relevant?
Let's find out
Yes, still relevant