File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <template >
2+ <h1 >what</h1 >
3+ </template >
4+
5+ const two =
6+ <template >
7+ {{#if true }}
8+ true
9+ {{/if }}
10+ </template >
11+
12+ const three =
13+ <template >
14+ {{if true ' true' }}
15+
16+ </template >
Original file line number Diff line number Diff line change @@ -274,6 +274,21 @@ exports[`format > config > default > it formats ../cases/gjs/simple.gjs 1`] = `
274274"
275275` ;
276276
277+ exports [` format > config > default > it formats ../cases/gjs/simple-with-tag.gjs 1` ] = `
278+ "<template >
279+ <h1 >what</h1 >
280+ </template >
281+
282+ const two = <template >
283+ { {#if true }}
284+ true
285+ { {/if }}
286+ </template >;
287+
288+ const three = <template >{ {if true "true"}} </template >;
289+ "
290+ ` ;
291+
277292exports [` format > config > default > it formats ../cases/gts/complex.gts 1` ] = `
278293"import { on } from "@ember/modifier";
279294import { service } from "@ember/service";
Original file line number Diff line number Diff line change @@ -274,6 +274,21 @@ exports[`config > semi: false > it formats ../cases/gjs/simple.gjs 1`] = `
274274"
275275` ;
276276
277+ exports [` config > semi: false > it formats ../cases/gjs/simple-with-tag.gjs 1` ] = `
278+ "<template >
279+ <h1 >what</h1 >
280+ </template >
281+
282+ const two = <template >
283+ { {#if true }}
284+ true
285+ { {/if }}
286+ </template >
287+
288+ const three = <template >{ {if true "true"}} </template >
289+ "
290+ ` ;
291+
277292exports [` config > semi: false > it formats ../cases/gts/complex.gts 1` ] = `
278293"import { on } from "@ember/modifier"
279294import { service } from "@ember/service"
Original file line number Diff line number Diff line change @@ -274,6 +274,21 @@ exports[`config > templateExportDefault: true > it formats ../cases/gjs/simple.g
274274"
275275` ;
276276
277+ exports [` config > templateExportDefault: true > it formats ../cases/gjs/simple-with-tag.gjs 1` ] = `
278+ "export default <template >
279+ <h1 >what</h1 >
280+ </template >
281+
282+ const two = <template >
283+ { {#if true }}
284+ true
285+ { {/if }}
286+ </template >;
287+
288+ const three = <template >{ {if true "true"}} </template >;
289+ "
290+ ` ;
291+
277292exports [` config > templateExportDefault: true > it formats ../cases/gts/complex.gts 1` ] = `
278293"import { on } from "@ember/modifier";
279294import { service } from "@ember/service";
You can’t perform that action at this time.
0 commit comments