Skip to content

Commit d9aa2fa

Browse files
committed
Update snapshots... no error? #374 repros with an erorr. hm
1 parent d8ff0b1 commit d9aa2fa

3 files changed

Lines changed: 45 additions & 0 deletions

File tree

tests/unit-tests/__snapshots__/format.test.ts.snap

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,21 @@ export default class PooComponent extends Component {
570570
"
571571
`;
572572
573+
exports[`format > config > default > it formats ../cases/gts/issue-374.gts 1`] = `
574+
"import pageTitle from "ember-page-title/helpers/page-title";
575+
576+
<template>
577+
{{pageTitle "TestAppPrettierCharacter"}}
578+
579+
<h2 id="title">Welcome to Ember</h2>
580+
581+
{{outlet}}
582+
583+
584+
</template> satisfies unknown;
585+
"
586+
`;
587+
573588
exports[`format > config > default > it formats ../cases/gts/js-only.gts 1`] = `
574589
"const num: number = 1;
575590
"

tests/unit-tests/config/__snapshots__/semi-false.test.ts.snap

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,21 @@ export default class PooComponent extends Component {
570570
"
571571
`;
572572
573+
exports[`config > semi: false > it formats ../cases/gts/issue-374.gts 1`] = `
574+
"import pageTitle from "ember-page-title/helpers/page-title"
575+
576+
;<template>
577+
{{pageTitle "TestAppPrettierCharacter"}}
578+
579+
<h2 id="title">Welcome to Ember</h2>
580+
581+
{{outlet}}
582+
583+
584+
</template> satisfies unknown
585+
"
586+
`;
587+
573588
exports[`config > semi: false > it formats ../cases/gts/js-only.gts 1`] = `
574589
"const num: number = 1
575590
"

tests/unit-tests/config/__snapshots__/template-export-default.test.ts.snap

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,21 @@ export default class PooComponent extends Component {
570570
"
571571
`;
572572
573+
exports[`config > templateExportDefault: true > it formats ../cases/gts/issue-374.gts 1`] = `
574+
"import pageTitle from "ember-page-title/helpers/page-title";
575+
576+
<template>
577+
{{pageTitle "TestAppPrettierCharacter"}}
578+
579+
<h2 id="title">Welcome to Ember</h2>
580+
581+
{{outlet}}
582+
583+
584+
</template> satisfies unknown;
585+
"
586+
`;
587+
573588
exports[`config > templateExportDefault: true > it formats ../cases/gts/js-only.gts 1`] = `
574589
"const num: number = 1;
575590
"

0 commit comments

Comments
 (0)