Skip to content

Commit

Permalink
fix CI with recent babel-plugin-template-compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed May 10, 2024
1 parent f58d749 commit 699a118
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/scenarios/stage1-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ appScenarios
);

fileContents.matches(
/precompileTemplate\(["']<div class={{embroider-sample-transforms-result}}>Extra<\/div>["']\)/,
/hbs\(["']<div class={{embroider-sample-transforms-result}}>Extra<\/div>["']\)/,
'called template is still hbs and custom transforms have run'
);

Expand Down Expand Up @@ -219,7 +219,7 @@ appScenarios
);

file.matches(
/precompileTemplate\(["']<div class={{embroider-sample-transforms-result}}>Extra<\/div>["']\)/,
/hbs\(["']<div class={{embroider-sample-transforms-result}}>Extra<\/div>["']\)/,
'called template is still hbs and custom transforms have run'
);

Expand Down
2 changes: 1 addition & 1 deletion tests/scenarios/v2-addon-dev-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -378,11 +378,11 @@ setComponentTemplate(
precompileTemplate(
"<div data-test-single-file-component>Hello {{@message}}</div><div data-test-another><Another /></div><Button data-test-button @onClick={{this.doIt}} />",
{
strictMode: true,
scope: () => ({
Another,
Button,
}),
strictMode: true
}), _SingleFileComponent);
export { SingleFileComponent as default };
Expand Down

0 comments on commit 699a118

Please sign in to comment.