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() }) })