Commit Graph

17 Commits

Author SHA1 Message Date
JaeyoungLee(polyglot.m)
2fdd70ab3f refactor(examples/index.test.js): refactor lint error 2018-03-29 21:38:38 +09:00
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
Pooya Parsa
ed22e78a75 basic migration to jest 2018-03-18 23:01:32 +03:30
Pooya Parsa
ed5bfacb4d eslint: fix import/order 2018-03-16 23:22:17 +03:30
Clark Du
d2a57bc329 feat: update with-ava example 2017-10-20 10:50:22 +03:30
Pooya Parsa
c5ca8c64f1 refactor: nuxt constructor no longer returns a promise
by not returning a promise we can expose .render method
also the old way of using nuxt won't change by 1.x release
2017-05-31 18:51:16 +04:30
Sebastien Chopin
488010bf78 Upgrade dependencies and JSDOM API 2017-05-30 16:08:51 +02:00
Sébastien Chopin
c4c3e74e4e Update tests with ava 2016-12-30 12:17:52 +01:00
Sébastien Chopin
37e7a01955 renderAndGetWindow does not need jsdom 2016-12-20 18:05:48 +01:00
Sébastien Chopin
401930450c remove console.log 2016-12-07 18:59:38 +01:00
Sébastien Chopin
495c46040b Update ava test 2016-12-07 18:37:19 +01:00
Sébastien Chopin
cb3bf4c320 window.onNuxtReady is now a function 2016-11-25 15:36:27 +01:00
Sébastien Chopin
2677afb46f Fix due 2.0.6~7 and add error() in context 2016-11-17 11:57:12 +01:00
Sébastien Chopin
c97c4ec32e watch pages/ dir to updates routes dynamically 2016-11-10 03:38:11 +01:00
Sébastien Chopin
d88948bdea map static to /
v0.3.0
2016-11-10 02:19:47 +01:00
Sébastien Chopin
18a2b57655 Add nuxt-build and nuxt-start, build:false and dev option 2016-11-09 23:59:41 +01:00
Sébastien Chopin
8ab135af55 Prototype 0.1.0 working
Alpha 0.1.0
2016-11-07 02:34:58 +01:00