Nuxt/examples/with-ava/test
JaeyoungLee(polyglot.m) 2c33641b9f refactor(examples/with-ava): replace 'nuxt.renderAndGetWindow' -> 'JSDOM'
detail:

1. 'beforeAll' no longer support

change to 'test.before'

2. renderAndGetWindow

const window = await nuxt.renderAndGetWindow('http://localhost:4000/')
does not return 'window'.

if url change to real server return window
but test server just return html.

so change to JSDOM way.
2018-03-29 15:38:08 +09:00
..
index.test.js refactor(examples/with-ava): replace 'nuxt.renderAndGetWindow' -> 'JSDOM' 2018-03-29 15:38:08 +09:00