diff --git a/test/parse.js b/test/parse.js index 0be35e08f9..a4eb7cd133 100644 --- a/test/parse.js +++ b/test/parse.js @@ -33,4 +33,17 @@ describe( 'parse', () => { } }); }); + + it( 'handles errors with options.onerror', () => { + let errored = false; + + svelte.compile( `