diff --git a/test/stats/index.js b/test/stats/index.js index e5a3c53eca..aafc58c926 100644 --- a/test/stats/index.js +++ b/test/stats/index.js @@ -19,8 +19,6 @@ describe('stats', () => { const filename = `test/stats/samples/${dir}/input.svelte`; const input = fs.readFileSync(filename, 'utf-8').replace(/\s+$/, ''); - const expectedWarnings = - tryToLoadJson(`test/stats/samples/${dir}/warnings.json`) || []; const expectedError = tryToLoadJson( `test/stats/samples/${dir}/error.json` ); @@ -31,10 +29,6 @@ describe('stats', () => { try { result = svelte.compile(input, config.options); config.test(assert, result.stats); - - if (result.warnings.length || expectedWarnings.length) { - // TODO check warnings are added to warnings - } } catch (e) { error = e; }