Skip to content

Commit

Permalink
fix: timeout
Browse files Browse the repository at this point in the history
Co-authored-by: 翠 / green <green@sapphi.red>
  • Loading branch information
poyoho and sapphi-red authored Apr 27, 2022
1 parent 05ab906 commit 6bae2a3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/playground/assets/__tests__/assets.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,7 @@ if (!isBuild) {
(code) => code.replace('#0088ff', '#00ff88'),
true
)
// wait for page reload
await timeout(200)
await page.waitForNavigation()
await untilUpdated(() => getColor('.import-css'), 'rgb(0, 255, 136)')
})
}
Expand Down

0 comments on commit 6bae2a3

Please sign in to comment.