Skip to content

Commit

Permalink
Update custom element test
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp committed Apr 30, 2022
1 parent 2646cbf commit 6af3399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/test/custom-elements.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ describe('Custom Elements', () => {

// Hydration
// test 3: Component and polyfill scripts bundled separately
expect($('script[type=module]')).to.have.lengthOf(1);
expect($('script')).to.have.lengthOf(2);
});

it('Custom elements not claimed by renderer are rendered as regular HTML', async () => {
Expand Down

0 comments on commit 6af3399

Please sign in to comment.