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)
|
expect(ctx.res.b).toBe(2)
|
||||||
})
|
})
|
||||||
|
|
||||||
// This is breaking on the node==current test
|
test.skip.appveyor('waitFor', async () => {
|
||||||
// in appveyor -- disabling until we figure it out
|
let s = Date.now()
|
||||||
//
|
await Utils.waitFor(100)
|
||||||
// test('waitFor', async () => {
|
expect(Date.now() - s >= 100).toBe(true)
|
||||||
// let s = Date.now()
|
await Utils.waitFor()
|
||||||
// await Utils.waitFor(100)
|
})
|
||||||
// expect(Date.now() - s >= 100).toBe(true)
|
|
||||||
// await Utils.waitFor()
|
|
||||||
// })
|
|
||||||
|
|
||||||
test('waitUntil', async () => {
|
test('waitUntil', async () => {
|
||||||
expect(await waitUntil(() => true, 0.1, 100)).toBe(false)
|
expect(await waitUntil(() => true, 0.1, 100)).toBe(false)
|
||||||
|
Loading…
Reference in New Issue
Block a user