Commit Graph

50 Commits

Author SHA1 Message Date
pooya parsa e7cc2757c3 refactor: update eslint-config to 1.x
Co-authored-by: Alexander Lichter <manniL@gmx.net>
2019-07-10 15:15:49 +04:30
Pooya Parsa 29297160a1
feat(vue-renderer): improvements (#4722) 2019-02-08 13:35:01 +03:30
Xin Du (Clark) f85ac94a87 fix(builder, module): addLayout and nuxt.config precedence over auto-scanned layouts (#4702) 2019-01-09 14:27:46 +03:30
Alexander Lichter 8786ff7317 fix: require serverMiddleware object with path and handler (#4656) 2018-12-30 01:04:47 +03:30
Clark Du 52a92fbc48 refactor: use PascalCase for components names (#4396) 2018-11-24 22:19:19 +03:30
Pooya Parsa 27e79be285 fix(builder): add lodash inside templates (#4368) 2018-11-20 09:21:17 +00:00
Alexander Lichter 6e8a51509c feat(builder, module): allow error layouts to be added through addLayout. closes #3194. (#3834) 2018-09-02 13:52:10 +04:30
Clark Du 432720b8c8 fix: appveyor test failure (#3754)
* fix: appveyor test failure

* ci: bring back yarn cache

* ci: turn off matrix

* refactor: use babel instead of esm in jest

* refactor: use es modules in fixtures
2018-08-17 22:25:23 +02:00
Jonas Galvez 3f1d634fb7 Consistent parens in arrow functions (#3630)
* Minor consistency enhancements

* Arrow parenthesis consistency

* Change linting rule

* Fix typo

* Update .eslintrc.js to only require parens for blocks

* Update style according to brace-only suggestion

* Remove --fix from lint

* Tweak no-loading time (failing test)

* Tweak no-loading time (failing test) (2)

* Tweak no-loading time (failing test) (3)

* Tweak no-loading time (failing test) (4)

* Tweak no-loading time (failing test) (5)
2018-08-06 02:12:44 +02:00
Clark Du 2b5c367efa refactor: use eslint-plugin-vue instead of eslint-plugin-html (#3517) 2018-07-12 14:03:50 +02:00
Clark Du 25d752630a
test: render:context hook 2018-05-03 20:49:37 +01: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 d6a403c045 test: remove stats: false.
This should happen automatically for CI environments.
2018-03-22 20:30:23 +04:30
Clark Du eb6ee86845
test: remove error hook in module.test.js 2018-03-19 10:20:20 +08:00
Pooya Parsa 53e98a958c feat: rewrite core to esm 2018-03-16 19:42:06 +03:30
Clark Du f9ab3c4c7c
test: remove warnings 2018-03-15 16:24:29 +08:00
Pooya Parsa b8f8f18384 optimize webpack 2018-03-12 00:58:56 +03:30
Hana Shiro 0a823252ae fix file permission in `lib` and `test` (#2883) 2018-02-27 00:18:36 +03:30
Ricardo Gobbo de Souza f0a6bdd51a feat: add layout on module 2018-02-07 09:58:48 -02:00
Pooya Parsa 10d1b5974c style: format with prettier 2018-01-13 08:52:11 +03:30
Pooya Parsa 1dbeb132d2 test: add failing test for #2574 2018-01-13 00:29:42 +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 2c52a8bc5a test: useMiddleware string handler 2017-12-07 11:52:20 +03:30
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
Atinux b132decf9d lint: Lint test/ 2017-10-31 14:26:19 +01:00
Sébastien Chopin 7aa0863cb7 test: Fix test for hooks 2017-10-30 23:17:46 +01:00
Sébastien Chopin 94ad5955e6 Hooks ready to be tested 2017-10-30 22:39:08 +01:00
Ivan Nikulin 2336b3e6ea
Update extendBuild modules API 2017-08-23 00:50:46 +02:00
Ivan Nikulin 416b84ccae
Update extendRoutes modules API 2017-08-23 00:50:46 +02:00
Pooya Parsa bdca7630a4 update module tests 2017-07-30 16:26:27 +04:30
Pooya Parsa 054098acf8 > upgrade dependencies 2017-07-18 02:49:02 +04:30
Pooya Parsa f317b70fd5 test(module): add tests for tapable 2017-07-18 00:08:02 +04:30
Pooya Parsa 107d36c851 tests: update module fixture 2017-07-11 13:33:29 +04:30
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
Pooya Parsa 15bc36afb0 fix some tests 2017-06-15 14:33:54 +04:30
Pooya Parsa b79f845842 update tests 2017-06-14 00:45:06 +04:30
Pooya Parsa 30b5387f95 test(module): code coverage 2017-05-31 19:28:36 +04:30
Sébastien Chopin e5052c3a87 Update test 2017-05-21 21:00:01 +02:00
Sébastien Chopin 0183ac4b86 Merge branch 'dev' of github.com:Atinux/nuxt.js into dev
Conflicts:
	lib/build.js
	lib/module.js
	lib/server.js
2017-05-21 19:23:31 +02:00
Sébastien Chopin c5b5913402 Update test 2017-05-21 19:18:26 +02:00
Pooya Parsa 04d3a22212 [Tests] addServerMiddleware with string path 2017-05-21 20:15:43 +04:30
Pooya Parsa 08fd004044 [tests] requireModule 2017-05-21 20:11:16 +04:30
Pooya Parsa 0eb3fc4a05 update tests 2017-05-15 03:31:41 +04:30
Pooya Parsa a1b9296776 [tests] Split modules 2017-05-15 03:15:01 +04:30
Pooya Parsa 5001341ea7 code style 2017-05-15 03:10:29 +04:30
Pooya Parsa 58842f3c03 [tests] use promise 2017-05-15 03:10:09 +04:30
Pooya Parsa 632a94a9c6 [module] Tests 2017-05-15 03:03:31 +04:30