Skip to content

Commit 0e20cce

Browse files
committedDec 23, 2024··
test: await file snapshot assertions
1 parent 1e70ed6 commit 0e20cce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎test/e2e/no-ssr.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ describe('browser (ssr: false)', () => {
3939

4040
const sources = await Promise.all(images.map(el => el.evaluate(e => e.getAttribute('src'))))
4141

42-
expect({
42+
await expect({
4343
sources,
4444
requests: requests
4545
.map(r => r.replace(url('/'), '/')).filter(r => r !== providerPath && !r.match(/\.(js|css)/))

‎test/e2e/ssr.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe('browser (ssr: true)', () => {
3838

3939
const sources = await Promise.all(images.map(el => el.evaluate(e => e.getAttribute('src'))))
4040

41-
expect({
41+
await expect({
4242
sources,
4343
requests: requests
4444
.map(r => r.replace(url('/'), '/')).filter(r => r !== providerPath && !r.match(/\.(js|css)/))

0 commit comments

Comments
 (0)
Please sign in to comment.