From f82d7b73cf337d9aad1446c0acacb4add72cd599 Mon Sep 17 00:00:00 2001 From: Simon Ihmig Date: Mon, 9 Sep 2024 11:59:14 +0200 Subject: [PATCH] Use colocated format for test component --- test-scenarios/static-import-test.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test-scenarios/static-import-test.ts b/test-scenarios/static-import-test.ts index 732637ef..0c7fe83c 100644 --- a/test-scenarios/static-import-test.ts +++ b/test-scenarios/static-import-test.ts @@ -116,6 +116,12 @@ function staticImportTest(project: Project) { }), }); `, + 'hello-world.hbs': ` +
{{this.formattedDate}}
+
{{#if this.lodashPresent}}yes{{else}}no{{/if}}
+
{{this.aliasedResult}}
+
{{this.fromScoped}}
+ `, }, lib: { 'example1.js': 'export default function() { return "example1 worked" }', @@ -151,6 +157,7 @@ function staticImportTest(project: Project) { templates: { 'application.hbs': `{{hello-world}}`, components: { + // Our "lts" scenario runs a very old version of Ember that does not support colocated components, that's why we intentionally keep this here 'hello-world.hbs': `
{{this.formattedDate}}
{{#if this.lodashPresent}}yes{{else}}no{{/if}}