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', () => {
5050 addDependency : dependencySpy ,
5151 resourcePath : fileName ,
5252 version,
53- query
53+ query,
54+ emitWarning : ( ) => { }
5455 } ,
5556 fileContents ,
5657 null
@@ -86,6 +87,7 @@ describe('loader', () => {
8687 if ( isSvelte5Plus ) {
8788 expect ( err . message ) . to . eql ( d `
8889 CompileError: block_unexpected_close: Unexpected block closing tag
90+ https://svelte.dev/e/block_unexpected_close
8991 test/fixtures/parse-error.html:1:22
9092 1: <p>Count: {count}</p>{/if}
9193 ^` ) ;
@@ -113,6 +115,7 @@ describe('loader', () => {
113115 if ( isSvelte5Plus ) {
114116 expect ( err . message . trim ( ) . replace ( / \r / g, '' ) ) . to . eql ( d `
115117 CompileError: module_illegal_default_export: A component cannot have a default export
118+ https://svelte.dev/e/module_illegal_default_export
116119 test/fixtures/validation-error.html:2:1
117120 1: <script>
118121 2: export default {};
You can’t perform that action at this time.
0 commit comments