import { loadFixture, Nuxt } from '../utils' let nuxt = null describe.posix('basic sockets', () => { test('/', async () => { const options = await loadFixture('sockets') nuxt = new Nuxt(options) await nuxt.server.listen() const { html } = await nuxt.server.renderRoute('/') expect(html).toContain('

Served over sockets!

') await nuxt.close() }) })