Commit Graph

69 Commits

Author SHA1 Message Date
Clark Du
8c85edd08b
test: ignore multiple processes test cases in appveyor 2018-07-20 17:25:11 +01:00
Clark Du
3c54d26c76 test: refactor cli tests (#3357)
* refactor: add untility for waiting until condition completed

* test: cli

* test: separate config of generate and build in cli test

* test: increase timeout of cli test slightly

* refactor: move waitUntil to test utils

* fix: use waitUntil in test utils
2018-06-06 17:01:43 +04:30
Clark Du
0583558d77
refactor: support string param in mock-log 2018-04-18 23:11:06 +08:00
Clark Du
4049c2b19a
fix: mock-log lint 2018-04-13 15:25:34 +08:00
Clark Du
708f602a62
refactor: use spyOn in mockLog 2018-04-13 15:11:53 +08:00
Clark Du
9ddd56c97f
refactor: make mocked log object mutable 2018-04-13 14:59:22 +08:00
Clark Du
c1d14f5f96
misc: remove unsless config 2018-04-09 17:59:41 +08:00
Pooya Parsa
e4ee624011 feat: improve esm handling
disables esm for nuxt modules
2018-04-05 13:08:54 +04:30
Pooya Parsa
5f2cf99eb9 mock consola with jest 2018-03-31 21:07:57 +04:30
Clark Du
7890d9c078
refactor: extract a unified console util 2018-03-30 16:27:18 +08:00
Clark Du
ed321f52c1
refactor: stats none is same as false 2018-03-29 15:11:34 +08:00
Clark Du
ef7a42649d misc: improve coverage and packaging (#3121)
nuxt-start and nuxt/legacy are also coming!
2018-03-28 02:58:17 +04:30
Pooya Parsa
c58a9c79a0 feat(test): support PUPPETEER_EXECUTABLE_PATH 2018-03-20 14:37:05 +03:30
Clark Du
dde616fbdb
fix: avoid override of puppeteer browser 2018-03-19 16:29:44 +08:00
Clark Du
17b01d0aa8 Revert "temporarily comment _getPort for tesing"
This reverts commit ca1242d5ec.
2018-03-19 15:24:09 +08:00
Clark Du
ca1242d5ec
temporarily comment _getPort for tesing 2018-03-19 15:05:02 +08:00
Clark Du
b4727eb4c4
test: refactor generate tests 2018-03-19 12:21:04 +08:00
Pooya Parsa
a962210219 increase jasmine timeouts
Thank you slow CI :)
2018-03-19 04:43:26 +03:30
Pooya Parsa
c4068c3a70 working tests 2018-03-19 03:11:14 +03:30