import { getPort, loadFixture, Nuxt } from '../utils' let port let nuxt = null describe('custom-app-template', () => { beforeAll(async () => { const options = await loadFixture('custom-app-template') nuxt = new Nuxt(options) port = await getPort() await nuxt.server.listen(port, '0.0.0.0') }) test('/', async () => { const { html } = await nuxt.server.renderRoute('/') expect(html).toContain('
My Template
') expect(html).toContain('