diff --git a/test/unit/utils.test.js b/test/unit/utils.test.js index 8c17c3f164..55996ababb 100644 --- a/test/unit/utils.test.js +++ b/test/unit/utils.test.js @@ -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)