FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore: one more type, one more · nuxt/nuxt@50dcf15 · GitHub

/ nuxt Public

Commit 50dcf15

Browse files
committed
chore: one more type, one more
1 parent 732d844 commit 50dcf15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/e2e/hmr.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,6 @@ test.describe('vite-only HMR tests', () => {
392392
// so `counter` never advanced even though the plugin re-ran load().
393393
writeFileSync(pagePath, pageContents.replace('<!-- HMR_TRIGGER -->', '<!-- HMR_TRIGGER edited -->'))
394394

395-
await expect(readCounter).toBeWithPolling((c: unknown) => Number.isFinite(c) && c > before)
395+
await expect(readCounter).toBeWithPolling((c: unknown) => Number.isFinite(c) && (c as number) > before)
396396
})
397397
})

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL