diff --git a/packages/compat/src/compat-app-builder.ts b/packages/compat/src/compat-app-builder.ts
index 515192d798..920f55a9d1 100644
--- a/packages/compat/src/compat-app-builder.ts
+++ b/packages/compat/src/compat-app-builder.ts
@@ -628,8 +628,8 @@ export class CompatAppBuilder {
${appBoot}
- 1. If you want to keep the same behavior, copy and paste it to your /app/app-boot.js:
- 2. Once /app/app-boot.js has the content you need, remove the present error by setting "useAddonAppBoot" to false in the build options.
+ 1. If you want to keep the same behavior, copy and paste it to the app-boot script included in app/index.html.
+ 2. Once app/index.html has the content you need, remove the present error by setting "useAddonAppBoot" to false in the build options.
`);
}
}
diff --git a/test-packages/support/audit-assertions.ts b/test-packages/support/audit-assertions.ts
index 1cdbe81de1..5826623285 100644
--- a/test-packages/support/audit-assertions.ts
+++ b/test-packages/support/audit-assertions.ts
@@ -56,7 +56,7 @@ export function setupAuditTest(hooks: NestedHooks, opts: () => AuditBuildOptions
await visit();
prepareResult(expectAudit.assert);
},
- module(name: string) {
+ module(name: string | RegExp) {
return expectAudit.module(name);
},
get findings() {
@@ -94,7 +94,7 @@ export class ExpectAuditResults {
readonly toRewrittenPath: (path: string) => string
) {}
- module(inputName: string): PublicAPI
diff --git a/tests/addon-template/tests/index.html b/tests/addon-template/tests/index.html index fc265ba949..242088d317 100644 --- a/tests/addon-template/tests/index.html +++ b/tests/addon-template/tests/index.html @@ -30,7 +30,6 @@ - {{content-for "body-footer"}} diff --git a/tests/app-template/app/app-boot.js b/tests/app-template/app/app-boot.js deleted file mode 100644 index 6b7181516c..0000000000 --- a/tests/app-template/app/app-boot.js +++ /dev/null @@ -1,4 +0,0 @@ -import Application from './app'; -import environment from './config/environment'; - -Application.create(environment.APP); diff --git a/tests/app-template/app/index.html b/tests/app-template/app/index.html index 60bf908cd3..c53dfc7da6 100644 --- a/tests/app-template/app/index.html +++ b/tests/app-template/app/index.html @@ -17,7 +17,12 @@ {{content-for "body"}} - + {{content-for "body-footer"}} diff --git a/tests/app-template/tests/index.html b/tests/app-template/tests/index.html index 90b8d8be8b..c68003bd76 100644 --- a/tests/app-template/tests/index.html +++ b/tests/app-template/tests/index.html @@ -27,7 +27,6 @@ - {{content-for "body-footer"}} {{content-for "test-body-footer"}} diff --git a/tests/fixtures/macro-sample-addon/tests/dummy/app/app-boot.js b/tests/fixtures/macro-sample-addon/tests/dummy/app/app-boot.js deleted file mode 100644 index 1e28ff4cc8..0000000000 --- a/tests/fixtures/macro-sample-addon/tests/dummy/app/app-boot.js +++ /dev/null @@ -1,5 +0,0 @@ -import Application from './app'; -import environment from './config/environment'; - -window.LoadedFromCustomAppBoot = true; -Application.create(environment.APP); \ No newline at end of file diff --git a/tests/fixtures/macro-sample-addon/tests/dummy/app/index.html b/tests/fixtures/macro-sample-addon/tests/dummy/app/index.html new file mode 100644 index 0000000000..24d04a975f --- /dev/null +++ b/tests/fixtures/macro-sample-addon/tests/dummy/app/index.html @@ -0,0 +1,30 @@ + + +
+ +
+ + + + {{content-for "head"}} + + + + + {{content-for "head-footer"}} + +
+