Commit Graph

111 Commits

Author SHA1 Message Date
Pooya Parsa
5abf524b15 Merge branch 'dev' into feat/esm 2018-03-16 19:48:57 +03:30
Pooya Parsa
53e98a958c feat: rewrite core to esm 2018-03-16 19:42:06 +03:30
William Chong
27e1423e24 add test to extendRoutes redirect 2018-03-15 19:57:00 +08:00
Hana Shiro
0a823252ae fix file permission in lib and test (#2883) 2018-02-27 00:18:36 +03:30
Clark Du
4a5aa48b44
test: remove extra log 2018-02-13 16:03:03 +08:00
Clark Du
6e2b37a7c6
test: csp, maxChunkSize and ignore generateConfig 2018-01-27 23:48:42 +08:00
Pooya Parsa
10d1b5974c style: format with prettier 2018-01-13 08:52:11 +03:30
Sébastien Chopin
eceb92502b minor: Improve styleResources to handle multiple pre-provcessors 2018-01-08 10:41:30 +01:00
Pooya Parsa
0c3abbb2db coverage for http2.shouldPush 2018-01-05 13:12:44 +03:30
Sébastien Chopin
1dc0bfc903 test: Add extensions test 2018-01-05 10:32:13 +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
Pooya Parsa
eeb79a25da coverage for babel.presets as a function 2017-12-08 18:04:11 +03:30
Pooya Parsa
423cee1f3d test: move scopeHoisting tests into basic fixture 2017-12-08 13:40:57 +03:30
Clark Du
81bb278305 test: build.styleResources for style-resources-loader 2017-12-08 11:32:10 +03:30
Pooya Parsa
79ce2ebc5d
chore: improve tests coverage 2017-11-24 19:14:07 +03:30
Clark Du
f27ddea7d5 feat: modulesDir supports array form 2017-11-24 17:19:50 +08:00
Clark Du
162b56ee4e test: custom postcss config 2017-11-21 13:57:47 +03:30
Clark Du
1c446b9e1b
test: create a separate test for deprecated apis 2017-11-20 15:13:53 +08:00
Clark Du
adc6884ed1
test: externals and deprecated dev in build.extend 2017-11-20 12:22:30 +08:00
Atinux
b132decf9d lint: Lint test/ 2017-10-31 14:26:19 +01:00
Sébastien Chopin
e02e8df224 fix: Fix tests in generate mode with redirect 2017-10-28 22:42:51 +02:00
FieryCod
0b46b06c7c Adds support for folders in /layouts 2017-10-15 21:31:01 +02:00
James Homer
9dd3c7fea0 add layoutTransition to with-config test 2017-09-09 12:39:20 +01:00
Pooya Parsa
0326c2cd54 fix tests 2017-09-05 14:12:19 +04:30
Sebastien Chopin
20eb5a5eb0 fix: handle process.env to have nested keys 2017-09-05 11:15:07 +02:00
Pooya Parsa
32ef99a96c tests: move font-face to layout 2017-08-30 18:59:32 +04:30
Pooya Parsa
5c2f4715e6 add tests for font preload 2017-08-30 18:48:37 +04:30
Ivan Nikulin
8cf5a21752
Change build.extend hook to return new webpack config 2017-08-23 00:50:45 +02:00
Ivan Nikulin
635ee580e9
Change router.extendRoutes hook to return new router config 2017-08-23 00:50:45 +02:00
Sebastien Chopin
af60ba21c0 Remove JS files for pages & layouts 2017-08-17 15:23:40 +02:00
Wu Haotian
814590c15a add .js files for layouts and pages 2017-08-14 18:09:27 +08:00
Sebastien Chopin
15400e1828 Add test for custom state 2017-07-27 16:50:24 +02:00
Pooya Parsa
b02dfc7ebc update tests 2017-07-07 02:57:27 +04:30
Pooya Parsa
29a7874169 update tests 2017-06-29 21:30:18 +04:30
Pooya Parsa
0453308e5e code coverage 2017-06-16 17:53:34 +04:30
Sebastien Chopin
979e15db2a Update JSDOM logic 2017-05-30 18:18:01 +02:00
Sebastien Chopin
eaee5afbde Add render.static option to customize serve-static middleware 2017-05-22 12:51:03 +02:00
Sébastien Chopin
c5b5913402 Update test 2017-05-21 19:18:26 +02:00
Sebastien Chopin
ac836c77de Update tests 2017-05-11 13:37:21 +02:00
Pooya Parsa
98ffc2110b [tests] ensure global styles are inlined 2017-05-05 18:55:17 +04:30
Pooya Parsa
8a25da81fb [test] update fixtures store to return a function 2017-05-02 14:05:09 +04:30
Sébastien Chopin
cce71ce8d5 Add test for offline-plugin 2017-04-17 15:58:18 +02:00
Sébastien Chopin
3b635323a4 Add layout in __NUXT__ 2017-03-25 18:59:58 +01:00
Sébastien Chopin
4431dfa368 revert to no-cdn publicPath 2017-03-24 18:54:54 +01:00
Sébastien Chopin
05c6dd958c Use CDN url for publicPath 2017-03-24 18:46:18 +01:00
Sébastien Chopin
184bd01b2b Coverage for template and publicPath 2017-03-24 18:35:30 +01:00
Alexandre Chopin
9dfe293bd0 update test for asyncData 2017-03-01 16:03:46 +01:00
Sébastien Chopin
6bc16c0118 Update tests 2017-02-10 00:45:49 +01:00
Sébastien Chopin
9a6b74a179 Fix test on windows 2017-01-28 20:41:31 +01:00
Sébastien Chopin
7552da1453 Add analyse option 2017-01-23 17:56:05 +01:00
Sébastien Chopin
f8735dc450 Add test for extendRoutes 2017-01-19 16:26:30 +01:00
Sébastien Chopin
b2cba244b1 update extend config 2016-12-27 15:24:52 +01:00
Sébastien Chopin
c026131558 Add test for extend option 2016-12-27 15:04:42 +01:00
Sébastien Chopin
86fba7ae77 Add test for layout with dash 2016-12-25 21:10:14 +01:00
Sébastien Chopin
eebc44dca4 Add tests for layouts 2016-12-24 18:50:40 +01:00
Sébastien Chopin
fcae73a79b Remove nuxt-container 2016-12-24 17:58:52 +01:00
Sébastien Chopin
c559740b2f test 100% 2016-12-21 20:51:43 +01:00
Sébastien Chopin
ba4a7c3e0b More tests for build/index.js 2016-12-21 19:27:36 +01:00
Sébastien Chopin
38ef413e5d test for nuxt.js 2016-12-21 15:27:30 +01:00
Sébastien Chopin
b74d452f23 Add more tests 2016-12-21 15:03:37 +01:00
Sébastien Chopin
8102ce48eb Handle validate for nuxt generate 2016-12-21 15:03:23 +01:00