Commit Graph

27 Commits

Author SHA1 Message Date
Pooya Parsa
10d1b5974c style: format with prettier 2018-01-13 08:52:11 +03:30
Clark Du
a74f206189 fix: remove require.cache deletion 2018-01-04 23:54:01 +08:00
Pooya Parsa
56965b838b update tests
Some tests disabled until a fix arrives
2017-12-29 12:03:13 +03:30
Clark Du
b385ee74db feature: enable extractCSS in dev 2017-12-21 12:16:07 +03:30
pimlie
ada5ffb84e Fix stdout/stderr interceptors 2017-12-17 22:14:05 +01:00
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
Sébastien Chopin
747371e79d
Merge branch 'dev' into sinon_console 2017-12-15 10:53:29 +01:00
Clark Du
3ec8f14e57 test: coverage for ProgressPlugin 2017-12-13 11:39:57 +03:30
Clark Du
75dc379340 test: coverage for ProgressPlugin 2017-12-13 11:20:40 +03:30
Clark Du
ff53769829 test: use sinon instead of std-mocks 2017-12-13 13:39:02 +08:00
Pooya Parsa
9b8cbed512 perf: remove rollup build
Using native node 8.x for less transpilations
2017-12-12 13:12:29 +03:30
Clark Du
3fc8aa9fca
test: remove mixins in live reloading 2017-12-05 18:36:54 +08:00
Pooya Parsa
14c67f935e eslint 2017-07-03 15:58:38 +04:30
Pooya Parsa
205113dfce update tests 2017-07-03 15:47:22 +04:30
Pooya Parsa
d42819ee91 update tests 2017-06-20 17:25:52 +04:30
Pooya Parsa
daa50e4efb refactor server into nuxt 2017-06-20 16:14:47 +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
2576e8795e init() ~> ready() 2017-06-15 19:29:26 +04:30
Pooya Parsa
25d106e2ab runBuild option 2017-06-14 23:21:14 +04:30
Pooya Parsa
36c1deda17 fix tests 2017-06-14 20:47:49 +04: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
Sébastien Chopin
e5052c3a87 Update test 2017-05-21 21:00:01 +02:00
Sébastien Chopin
c5b5913402 Update test 2017-05-21 19:18:26 +02:00
Sebastien Chopin
54dec8e4b5 Fix hot-update.json & add tests 2017-05-16 15:12:30 +02:00
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
c559740b2f test 100% 2016-12-21 20:51:43 +01:00