Skip to content

Commit ea064a6

Browse files
committed
chore: add missing await in tests
1 parent 8b97725 commit ea064a6

File tree

1 file changed

+1
-1
lines changed
  • packages/svelte/tests/preprocess

1 file changed

+1
-1
lines changed

packages/svelte/tests/preprocess/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const { test, run } = suite<PreprocessTest>(async (config, cwd) => {
2525
fs.writeFileSync(`${cwd}/_actual.html.map`, JSON.stringify(result.map, null, 2));
2626
}
2727

28-
expect(result.code).toMatchFileSnapshot(`${cwd}/output.svelte`);
28+
await expect(result.code).toMatchFileSnapshot(`${cwd}/output.svelte`);
2929

3030
expect(result.dependencies).toEqual(config.dependencies || []);
3131

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy