Commit Graph

27 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
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
2c52a8bc5a test: useMiddleware string handler 2017-12-07 11:52:20 +03:30
Clark Du
1c446b9e1b
test: create a separate test for deprecated apis 2017-11-20 15:13:53 +08:00
Clark Du
750db84267 test: coverage for hooks exception 2017-11-19 18:38:51 +03:30
Clark Du
f0ea07ea4b test: coverage for hooks 2017-11-19 18:38:51 +03:30
Sébastien Chopin
94ad5955e6 Hooks ready to be tested 2017-10-30 22:39:08 +01:00
Pooya Parsa
68326a6c9b chore: update tests 2017-07-22 23:49:35 +04:30
Pooya Parsa
f317b70fd5 test(module): add tests for tapable 2017-07-18 00:08:02 +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
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
b79f845842 update tests 2017-06-14 00:45:06 +04:30
Pooya Parsa
754fcc2f59 update tests 2017-06-13 00:45:28 +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
Pooya Parsa
d161a5785c test: fix appveyor
part 2!
2017-05-31 17:36:23 +04:30
Pooya Parsa
3de7921b5a test: fix appveyor 2017-05-31 17:24:36 +04:30
Sebastien Chopin
2bb5cca1d5 Remove buildNamespace in favor of buildDir 2017-05-30 16:09:36 +02:00
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
Pooya Parsa
632a94a9c6 [module] Tests 2017-05-15 03:03:31 +04:30