-
-
Couldn't load subscription status.
- Fork 6.6k
Closed
Labels
Description
The spec packages/jest-runtime/src/__tests__/script_transformer.test.js fails on node 10.5.0, while it passes on node 10.4.1 (and node 6, 8 & 9).
Skipping a single test doesn't matter, it'll fail the top one either way.
● ScriptTransformer › does not transform Node core modules
TypeError: Cannot read property 'prototype' of undefined
at patch (node_modules/graceful-fs/graceful-fs.js:166:54)
● ScriptTransformer › does not transform Node core modules
TypeError: ScriptTransformer is not a constructor
at Object.it (packages/jest-runtime/src/__tests__/script_transformer.test.js:227:31)
I'm opening the issue here instead of node/graceful-fs since we do a lot of mocking fs in that test.
@thymikee @rickhanlonii ideas? I haven't dug into it
gluons