Skip to content

Commit 412dff0

Browse files
committed
chore: fix test for Svelte 5
1 parent cb01b6a commit 412dff0

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Diff for: test/loader.spec.js

+1-6
Original file line numberDiff line numberDiff line change
@@ -325,12 +325,7 @@ describe('loader', () => {
325325
(err, code, map) => {
326326
expect(err).not.to.exist;
327327
expect(code).to.exist;
328-
if (isSvelte5Plus) {
329-
expect(code).to.contain('width: 50px;');
330-
expect(code).to.contain('height: 50px;');
331-
} else {
332-
expect(code).to.contain('{width:50px;height:50px}');
333-
}
328+
expect(code).to.contain('{width:50px;height:50px');
334329
expect(map).to.exist;
335330
},
336331
{

0 commit comments

Comments
 (0)