Nuxt/test/unit/deprecate.test.js
2018-03-30 17:20:16 +08:00

24 lines
446 B
JavaScript

import { loadFixture, getPort, Nuxt } from '../utils'
let port
let nuxt = null
// let buildSpies = null
describe.skip('deprecate', () => {
beforeAll(async () => {
const config = loadFixture('deprecate')
nuxt = new Nuxt(config)
port = await getPort()
await nuxt.listen(port, 'localhost')
})
test()
// Close server and ask nuxt to stop listening to file changes
afterAll(async () => {
await nuxt.close()
})
})