diff --git a/tests/scenarios/v2-addon-dev-typescript-test.ts b/tests/scenarios/v2-addon-dev-typescript-test.ts index 98deada75..bafed9c4b 100644 --- a/tests/scenarios/v2-addon-dev-typescript-test.ts +++ b/tests/scenarios/v2-addon-dev-typescript-test.ts @@ -16,7 +16,7 @@ appScenarios addon.pkg.files = ['dist']; addon.pkg.exports = { './*': './dist/*.js', - './addon-main.js': './addon-main.cjs', + './addon-main.cjs': './addon-main.cjs', './package.json': './package.json', }; addon.pkg.scripts = { diff --git a/tests/scenarios/v2-addon-test.ts b/tests/scenarios/v2-addon-test.ts index 4c18982cb..f67fe825d 100644 --- a/tests/scenarios/v2-addon-test.ts +++ b/tests/scenarios/v2-addon-test.ts @@ -32,9 +32,9 @@ appScenarios 'example-component.css': '/* not empty */ h1 { color: red }', }, 'import-from-npm.js': ` - export default async function() { + export default async function() { let { message } = await import('third-party'); - return message() + return message() } `, }); diff --git a/tests/v2-addon-template/package.json b/tests/v2-addon-template/package.json index 8fe72de7d..c87ddcc83 100644 --- a/tests/v2-addon-template/package.json +++ b/tests/v2-addon-template/package.json @@ -12,7 +12,7 @@ "type": "addon", "version": 2, "app-js": {}, - "main": "addon-main.js" + "main": "addon-main.cjs" }, "exports": { "./*": "./*"