MCPcopy
hub / github.com/sveltejs/svelte / load_warnings

Function load_warnings

packages/svelte/tests/css/test.ts:26–31  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

24}
25
26function load_warnings(path: string) {
27 if (!fs.existsSync(path)) {
28 return [];
29 }
30 return JSON.parse(fs.readFileSync(path, 'utf-8')).map(normalize_warning);
31}
32
33interface CssTest extends BaseTest {
34 compileOptions?: Partial<CompileOptions>;

Callers 1

test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected