Commit Graph

24 Commits

Author SHA1 Message Date
Pooya Parsa
10d1b5974c style: format with prettier 2018-01-13 08:52:11 +03:30
pimlie
fffe741986 Use console helper with sinon
Add stdout/stderr to console helpers

Remove separate nosubfolders test file in favor of inclusion in basic.generate

Add build.stats to silence webpack output

Add .always to after hooks: (1) fixes issue with basic.dev test that watch.js is empty when one of the test fails and (2) fixes that sometimes when running multiple tests that failed after eachother the port is still used as the server did not automatically get killed

Change all init nuxt before test to serial tests and add tests for DONE and OPEN logs
2017-12-17 20:30:26 +01:00
Pooya Parsa
9b8cbed512 perf: remove rollup build
Using native node 8.x for less transpilations
2017-12-12 13:12:29 +03:30
Pooya Parsa
68326a6c9b chore: update tests 2017-07-22 23:49:35 +04:30
Sébastien Chopin
c26daa9e8f Fix tests 2017-06-18 19:33:23 +02:00
Pooya Parsa
45485f5b8a update tests 2017-06-16 17:19:35 +04:30
Pooya Parsa
42b603304d fix tests 2017-06-16 03:08:43 +04:30
Pooya Parsa
2576e8795e init() ~> ready() 2017-06-15 19:29:26 +04:30
Pooya Parsa
15bc36afb0 fix some tests 2017-06-15 14:33:54 +04:30
Pooya Parsa
25d106e2ab runBuild option 2017-06-14 23:21:14 +04:30
Pooya Parsa
ce5cb62ee6 fix index.test 2017-06-14 02:50:19 +04:30
Pooya Parsa
c519c3edff fixes + improvements 2017-06-14 02:39:03 +04:30
Pooya Parsa
1d95e38f9c eslint 2017-06-14 00:15:37 +04:30
Pooya Parsa
103365d81b update nuxt tests 2017-06-14 00:14:54 +04:30
Pooya Parsa
00af7e5b53 eslint 2017-06-13 01:11:26 +04:30
Pooya Parsa
a774a11720 update nuxt tests 2017-06-13 01:00:16 +04:30
Sebastien Chopin
1ae3062283 Add nuxt.ready(), dev depends on process.env.NODE_ENV, server waits for modules to be ready and build() is called on development by default 2017-06-02 17:58:53 +02:00
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
Pooya Parsa
b0b9101a8d [tests] await for nuxt initialization
Nuxt constructor is now returning a promise, so we should await it before using
2017-05-12 00:19:02 +04:30
Sébastien Chopin
117fa7ef3a Fix test 2016-12-20 20:54:23 +01:00
Sébastien Chopin
a03b13c2c1 Move to fixtures and add generate test 2016-12-20 20:44:42 +01:00
Sébastien Chopin
962f37794e Add more test 2016-12-10 10:57:50 +01:00
Sébastien Chopin
3606d2a576 Add test when no build and call render 2016-12-09 23:29:04 +01:00
Sébastien Chopin
5fc338e6b2 Add tests 2016-12-09 18:51:19 +01:00