We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75f8199 commit 87d7cc7Copy full SHA for 87d7cc7
packages/svelte/tests/preprocess/test.ts
@@ -25,7 +25,7 @@ const { test, run } = suite<PreprocessTest>(async (config, cwd) => {
25
fs.writeFileSync(`${cwd}/_actual.html.map`, JSON.stringify(result.map, null, 2));
26
}
27
28
- expect(result.code).toMatchFileSnapshot(`${cwd}/output.svelte`);
+ await expect(result.code).toMatchFileSnapshot(`${cwd}/output.svelte`);
29
30
expect(result.dependencies).toEqual(config.dependencies || []);
31
0 commit comments