test: wrap error test with consola to make output clear

This commit is contained in:
Pooya Parsa 2020-01-17 10:47:40 +01:00
parent 3772d853ee
commit 3d33dab20e

View File

@ -16,6 +16,8 @@ describe('error', () => {
port = await getPort() port = await getPort()
await nuxt.server.listen(port, 'localhost') await nuxt.server.listen(port, 'localhost')
consola.wrapConsole()
}) })
test('/ should display an error', async () => { test('/ should display an error', async () => {