Skip to content

Commit e8ee41d

Browse files
committed
Fix test
this.emitFile is not available in test mocks, so we need to check for cssData instead of cssPath
1 parent 94773b4 commit e8ee41d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/loader.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ describe('loader', () => {
216216
function(err, code, map) {
217217
expect(err).not.to.exist;
218218

219-
expect(code).to.match(/!=!svelte-loader\?cssPath=/);
219+
expect(code).to.match(/!=!svelte-loader\?cssData=/);
220220
},
221221
{ emitCss: true }
222222
)

0 commit comments

Comments
 (0)