From d0aadd4357637ce3a44ed6b672c4d379428fb34e Mon Sep 17 00:00:00 2001 From: Clark Du Date: Mon, 28 Jan 2019 14:30:04 +0000 Subject: [PATCH] fix(test): jest describe.skip does not work fine --- test/unit/sockets.test.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/unit/sockets.test.js b/test/unit/sockets.test.js index 0cc0cbdcf0..92e1c7907a 100644 --- a/test/unit/sockets.test.js +++ b/test/unit/sockets.test.js @@ -3,19 +3,14 @@ import { loadFixture, Nuxt } from '../utils' let nuxt = null describe.skip.win('basic sockets', () => { - beforeAll(async () => { + test('/', async () => { const options = await loadFixture('sockets') nuxt = new Nuxt(options) await nuxt.server.listen() - }) - test('/', async () => { const { html } = await nuxt.server.renderRoute('/') expect(html).toContain('

Served over sockets!

') - }) - // Close server and ask nuxt to stop listening to file changes - afterAll(async () => { await nuxt.close() }) })