Skip to content

Commit

Permalink
chore: fix test for Svelte 5
Browse files Browse the repository at this point in the history
  • Loading branch information
dummdidumm committed Nov 4, 2024
1 parent cb01b6a commit 412dff0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions test/loader.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,12 +325,7 @@ describe('loader', () => {
(err, code, map) => {
expect(err).not.to.exist;
expect(code).to.exist;
if (isSvelte5Plus) {
expect(code).to.contain('width: 50px;');
expect(code).to.contain('height: 50px;');
} else {
expect(code).to.contain('{width:50px;height:50px}');
}
expect(code).to.contain('{width:50px;height:50px');
expect(map).to.exist;
},
{
Expand Down

0 comments on commit 412dff0

Please sign in to comment.