We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 248f55a commit fd39e95Copy full SHA for fd39e95
test/stats/index.js
@@ -19,8 +19,6 @@ describe('stats', () => {
19
const filename = `test/stats/samples/${dir}/input.svelte`;
20
const input = fs.readFileSync(filename, 'utf-8').replace(/\s+$/, '');
21
22
- const expectedWarnings =
23
- tryToLoadJson(`test/stats/samples/${dir}/warnings.json`) || [];
24
const expectedError = tryToLoadJson(
25
`test/stats/samples/${dir}/error.json`
26
);
@@ -31,10 +29,6 @@ describe('stats', () => {
31
29
try {
32
30
result = svelte.compile(input, config.options);
33
config.test(assert, result.stats);
34
-
35
- if (result.warnings.length || expectedWarnings.length) {
36
- // TODO check warnings are added to warnings
37
- }
38
} catch (e) {
39
error = e;
40
}
0 commit comments