@@ -19,8 +19,6 @@ strictAppScenarios
1919 ...import.meta.glob('./services/**/*.{js,ts}', { eager: true }),
2020 ...import.meta.glob('./controllers/**/*.{js,ts}', { eager: true }),
2121 ...import.meta.glob('./routes/**/*.{js,ts}', { eager: true }),
22- ...import.meta.glob('./components/**/*.{gjs,gts,js,ts}', { eager: true }),
23- ...import.meta.glob('./helpers/**/*.{js,ts}', { eager: true }),
2422 ...import.meta.glob('./templates/**/*.hbs', { eager: true }),
2523 };
2624 }
@@ -185,11 +183,6 @@ strictAppScenarios
185183 });
186184
187185 test('parent route with auto-generated index renders both templates', async function (assert) {
188- // Visiting /posts activates posts + posts.index. Both
189- // templates must resolve: posts.hbs (with {{outlet}}) and
190- // posts/index.hbs (nested under a folder). Proves the
191- // strict resolver handles both the parent and the nested
192- // \`type:name.index\` -> \`type/name/index\` path.
193186 await visit('/posts');
194187 assert.strictEqual(currentURL(), '/posts');
195188 assert.dom('[data-test="posts"]').exists('parent template rendered');
@@ -203,9 +196,6 @@ strictAppScenarios
203196 });
204197
205198 test('dynamic nested child renders alongside its parent template', async function (assert) {
206- // /posts/42 activates both posts (parent) and posts.show
207- // (child). The parent template must still be present —
208- // the child renders into its {{outlet}}.
209199 await visit('/posts/42');
210200 assert.strictEqual(currentURL(), '/posts/42');
211201 assert.dom('[data-test="posts"]').exists('parent template still rendered');
@@ -214,10 +204,6 @@ strictAppScenarios
214204 });
215205
216206 test('three-level nested route resolves every level', async function (assert) {
217- // /posts/42/comments activates posts -> posts.show ->
218- // posts.show.comments. Every template in the chain must
219- // resolve, and the strict resolver must walk
220- // template:posts.show.comments -> templates/posts/show/comments.
221207 await visit('/posts/42/comments');
222208 assert.strictEqual(currentURL(), '/posts/42/comments');
223209 assert.dom('[data-test="posts"]').exists('level 1: posts.hbs');
0 commit comments