mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-06 21:10:38 +00:00
test: only ignore waitfor test in appveyor (#3640)
This commit is contained in:
parent
4f3f935d05
commit
c89af3c77f
@ -16,15 +16,12 @@ describe('utils', () => {
|
||||
expect(ctx.res.b).toBe(2)
|
||||
})
|
||||
|
||||
// This is breaking on the node==current test
|
||||
// in appveyor -- disabling until we figure it out
|
||||
//
|
||||
// test('waitFor', async () => {
|
||||
// let s = Date.now()
|
||||
// await Utils.waitFor(100)
|
||||
// expect(Date.now() - s >= 100).toBe(true)
|
||||
// await Utils.waitFor()
|
||||
// })
|
||||
test.skip.appveyor('waitFor', async () => {
|
||||
let s = Date.now()
|
||||
await Utils.waitFor(100)
|
||||
expect(Date.now() - s >= 100).toBe(true)
|
||||
await Utils.waitFor()
|
||||
})
|
||||
|
||||
test('waitUntil', async () => {
|
||||
expect(await waitUntil(() => true, 0.1, 100)).toBe(false)
|
||||
|
Loading…
Reference in New Issue
Block a user