diff --git a/e2e/runtime-internal-module-registry/__tests__/runtimeInternalModuleRegistry.test.js b/e2e/runtime-internal-module-registry/__tests__/runtimeInternalModuleRegistry.test.js index 53334daccdb5..377764a2020e 100644 --- a/e2e/runtime-internal-module-registry/__tests__/runtimeInternalModuleRegistry.test.js +++ b/e2e/runtime-internal-module-registry/__tests__/runtimeInternalModuleRegistry.test.js @@ -16,7 +16,7 @@ describe('Runtime internal module registry', () => { // We require from this crazy path so that we can mimick Jest (and its // transitive deps) being installed alongside a projects deps (e.g. with an // NPM3 flat dep tree) - const jestUtil = require('jest-util'); + const jestUtil = require('../../../packages/jest-util'); // If FS is mocked correctly, this folder won't actually be created on the // filesystem