From 961561dec134790eb2a2103c2583e0665e568dcb Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Tue, 1 Jul 2025 21:16:44 -0400 Subject: [PATCH 1/2] Repro for #374 --- tests/cases/gts/issue-374.gts | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tests/cases/gts/issue-374.gts diff --git a/tests/cases/gts/issue-374.gts b/tests/cases/gts/issue-374.gts new file mode 100644 index 0000000..44e9f8c --- /dev/null +++ b/tests/cases/gts/issue-374.gts @@ -0,0 +1,3 @@ + satisfies unknown; From 01b9328750f0aacb417dc417187bd9c86cb9b8a1 Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Tue, 1 Jul 2025 22:34:19 -0400 Subject: [PATCH 2/2] Update snapshots --- .../__snapshots__/format.test.ts.snap | 22 +++++++++++++++++++ .../arrow-parens-avoid.test.ts.snap | 11 ++++++++++ .../__snapshots__/index.test.ts.snap | 18 +++++++++++++++ .../__snapshots__/semi-false.test.ts.snap | 18 +++++++++++++++ .../__snapshots__/semi-false.test.ts.snap | 22 +++++++++++++++++++ .../template-export-default.test.ts.snap | 22 +++++++++++++++++++ .../template-single-quote.test.ts.snap | 15 +++++++++++++ 7 files changed, 128 insertions(+) diff --git a/tests/unit-tests/__snapshots__/format.test.ts.snap b/tests/unit-tests/__snapshots__/format.test.ts.snap index 41951c2..b226173 100644 --- a/tests/unit-tests/__snapshots__/format.test.ts.snap +++ b/tests/unit-tests/__snapshots__/format.test.ts.snap @@ -98,6 +98,23 @@ class MyComponent extends Component { " `; +exports[`format > config > default > it formats ../cases/gjs/component-class-with-template-literal.gjs 2`] = ` +"import Component from "@glimmer/component"; + +/** It's a component */ +class MyComponent extends Component { + + + what = \`template literal that is not a template\`; +} +" +`; + exports[`format > config > default > it formats ../cases/gjs/default-export.gjs 1`] = ` "