diff --git a/tests/scenarios/compat-resolver-test.ts b/tests/scenarios/compat-resolver-test.ts index 67b5289e7..5fad12e05 100644 --- a/tests/scenarios/compat-resolver-test.ts +++ b/tests/scenarios/compat-resolver-test.ts @@ -99,14 +99,14 @@ Scenarios.fromProject(() => new Project()) }; givenFiles({ - '_babel_config.js': ` + 'node_modules/.embroider/_babel_config_.js': ` module.exports = { plugins: ${JSON.stringify([ [require.resolve('babel-plugin-ember-template-compilation'), etcOptions], [require.resolve('@embroider/compat/src/babel-plugin-adjust-imports'), { appRoot: app.dir }], ])} }`, - '_babel_filter.js': ` + 'node_modules/.embroider/_babel_filter.js': ` module.exports = function(filename) { return true } `, 'node_modules/.embroider/resolver.json': JSON.stringify(resolverOptions), diff --git a/tests/scenarios/core-resolver-test.ts b/tests/scenarios/core-resolver-test.ts index 3a420383b..eb6fc1160 100644 --- a/tests/scenarios/core-resolver-test.ts +++ b/tests/scenarios/core-resolver-test.ts @@ -131,12 +131,12 @@ Scenarios.fromProject(() => new Project()) }; givenFiles({ - '_babel_config.js': ` + 'node_modules/.embroider/_babel_config_.js': ` module.exports = { plugins: [] } `, - '_babel_filter.js': ` + 'node_modules/.embroider/_babel_filter.js': ` module.exports = function(filename) { return true } `, 'node_modules/.embroider/resolver.json': JSON.stringify(resolverOptions),