Pooya Parsa
c4068c3a70
working tests
2018-03-19 03:11:14 +03:30
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
82c4c7ea1a
refactor: resolve exact route prior to index
2018-01-23 15:20:56 +08:00
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
5a07be6396
perf: use native util.promisify instead of pify
...
https://nodejs.org/api/util.html#util_util_promisify_original
2017-12-12 11:13:56 +03:30
Sébastien Chopin
db47df0761
Handle wildcard routing order
2017-08-14 14:01:10 +02:00
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
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
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
c5b5913402
Update test
2017-05-21 19:18:26 +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
Pooya Parsa
aeea3cb9eb
[tests] fix dynamic routes end of array detection
2017-05-02 15:48:44 +04:30
Pooya Parsa
56c39bea88
fix tests
2017-04-30 02:39:40 +04:30
Alexandre Chopin
61f9b21fd0
add tests for dynamic routes
2017-02-10 21:24:29 +01:00
Alexandre Chopin
13284fbf8a
update test dynamic routes
2017-02-09 01:18:56 +01:00
Sébastien Chopin
c00d468357
Remove only test
2017-02-04 15:27:41 +01:00
Alexandre Chopin
2f39ffedf0
add tests for routes
2017-02-03 20:23:39 +01:00
Alexandre Chopin
1a4822e38d
add new test for dynamic routes
2017-01-11 15:03:26 +01:00
Sébastien Chopin
048506ae35
Add tests for dynamic-routes
2016-12-24 18:50:28 +01:00