Skip to content

Commit

Permalink
enable another passing test
Browse files Browse the repository at this point in the history
  • Loading branch information
void-mAlex committed Jan 31, 2023
1 parent 4656a30 commit c4b2d6c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions packages/compat/tests/resolver.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2161,7 +2161,7 @@ describe('compat-resolver', function () {
`);
});

test.skip('respects yieldsArguments rule for positional block param, curly', function () {
test('respects yieldsArguments rule for positional block param, curly', function () {
let packageRules: PackageRules[] = [
{
package: 'the-test-package',
Expand All @@ -2184,16 +2184,16 @@ describe('compat-resolver', function () {
{{/form-builder}}
`
)
).toEqual([
{
path: './fancy-navbar.hbs',
runtimeName: 'the-app/templates/components/fancy-navbar',
},
{
path: './form-builder.hbs',
runtimeName: 'the-app/templates/components/form-builder',
},
]);
).toEqualCode(`
import fancyNavbar from "./fancy-navbar.hbs";
import formBuilder from "./form-builder.hbs";
import { precompileTemplate } from "@ember/template-compilation";
window.define("the-app/templates/components/form-builder", () => formBuilder);
window.define("the-app/templates/components/fancy-navbar", () => fancyNavbar);
export default precompileTemplate("\\n {{#form-builder navbar=(component \\"fancy-navbar\\") as |bar|}}\\n {{component bar}}\\n {{/form-builder}}\\n ", {
moduleName: "my-app/templates/components/x.hbs"
});
`);
});

test('respects yieldsArguments rule for hash block param', function () {
Expand Down

0 comments on commit c4b2d6c

Please sign in to comment.