Skip to content

Commit

Permalink
Update fixture and snpashots
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeAstapov committed Mar 29, 2024
1 parent 9040d75 commit 905e48f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import templateOnly from '@ember/component/template-only';

export default templateOnly();
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Component from '@glimmer/component';
import TemplateOnly from './template-only';
import TemplateOnly from './template-only.ts';
import AnotherGts from './another-gts.gts'; // N.B. relative imports inside a v2 addon should have explicit file extensions (this is consistent with how node treats ES modules)
import { on } from '@ember/modifier';
import { action } from '@ember/object';
Expand Down
4 changes: 2 additions & 2 deletions tests/rollup-build-tests/explicit-imports.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ describe(`rollup-build | explicit-imports`, () => {
'js-component.d.ts',
'js-component.d.ts.map',
'nested',
'template-only.d.ts',
'template-only.d.ts.map',
"template-only.d.ts",
"template-only.d.ts.map",
'ts-component.d.ts',
'ts-component.d.ts.map',
]);
Expand Down
2 changes: 0 additions & 2 deletions tests/smoke-tests/--typescript.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ for (let packageManager of SUPPORTED_PACKAGE_MANAGERS) {
"index.js",
"index.js.map",
"services",
"template-only-B8yJqW69.js",
"template-only-B8yJqW69.js.map",
"template-registry.js",
"template-registry.js.map",
]
Expand Down

0 comments on commit 905e48f

Please sign in to comment.