Created by: lorenzorapetti
Things to notice before merging
-
There's currently a bug for which jest 24 crashes if it's called programmatically. Until a bugfix comes out, i've addedThis has been fixed in version 24.1require('jest-cli/build/cli')
beforerequire('jest')
like this comment suggests.🎉 -
The current version ofFixed injest-pnp-resolver
doesn't work because jest changed the file names ofjest-resolve
. They already have the fix in their code but it isn't published yet. I've filed an issue, but in the meantime i've createdpnpResolver.js
just to make things work.jest-pnp-resolver
1.1.0🎉 -
Jest 24 comes with a new
setupFilesAfterEnv
option that replacessetupTestFrameworkScriptFile
. It now accepts an array of files instead of a single one. I'm wondering if we should allow multiple setup files?