File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,8 @@ describe('loader', () => {
50
50
addDependency : dependencySpy ,
51
51
resourcePath : fileName ,
52
52
version,
53
- query
53
+ query,
54
+ emitWarning : ( ) => { }
54
55
} ,
55
56
fileContents ,
56
57
null
@@ -86,6 +87,7 @@ describe('loader', () => {
86
87
if ( isSvelte5Plus ) {
87
88
expect ( err . message ) . to . eql ( d `
88
89
CompileError: block_unexpected_close: Unexpected block closing tag
90
+ https://svelte.dev/e/block_unexpected_close
89
91
test/fixtures/parse-error.html:1:22
90
92
1: <p>Count: {count}</p>{/if}
91
93
^` ) ;
@@ -113,6 +115,7 @@ describe('loader', () => {
113
115
if ( isSvelte5Plus ) {
114
116
expect ( err . message . trim ( ) . replace ( / \r / g, '' ) ) . to . eql ( d `
115
117
CompileError: module_illegal_default_export: A component cannot have a default export
118
+ https://svelte.dev/e/module_illegal_default_export
116
119
test/fixtures/validation-error.html:2:1
117
120
1: <script>
118
121
2: export default {};
You can’t perform that action at this time.
0 commit comments