Commit Graph

20 Commits

Author SHA1 Message Date
Daniel Roe 9c4dac3c61
fix(vue-app): use getter to provide `this.$nuxt` (#8170) 2020-10-13 12:19:08 +02:00
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
Clark Du 52a92fbc48 refactor: use PascalCase for components names (#4396) 2018-11-24 22:19:19 +03:30
Dmitry Molotkov df148a896e fix: properly serialize undefined in vuex store (#3913)
* allow to serialize undefined variable in vuex store

* test properly

* fix test

* lock
2018-09-25 10:51:07 +02:00
Clark Du b11e9c0e51
feat: upgrade eslint to 5.x (#3494)
- [ ] babel-eslint https://github.com/babel/babel-eslint/issues/664
- [x] eslint-config-standard-jsx https://github.com/standard/eslint-config-standard-jsx/issues/32
- [x] eslint-config-standard to be stable release https://github.com/standard/eslint-config-standard/issues/123
- [x] eslint-plugin-html
- [x] eslint-plugin-import
- [x] eslint-plugin-jest
- [x] eslint-plugin-node
- [x] eslint-plugin-promise
- [x] eslint-plugin-standard https://github.com/standard/eslint-plugin-standard/issues/29
- [x] eslint-plugin-vue https://github.com/vuejs/eslint-plugin-vue/pull/504
- [x] eslint-plugin-react https://github.com/yannickcr/eslint-plugin-react/releases/tag/v7.10.0
2018-08-31 21:34:12 +01:00
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
Alexander Lichter b4d81dc584 lint: require await in async function (#3676)
* lint: require await in async function

* lint: replace "error" with 2 in config
2018-08-10 08:41:23 +01: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 6b8e9fa1be misc: revert appveyor condition in test 2018-07-24 17:30:31 +01:00
Clark Du daf1c28dbf test: disable http2.push in appveyor 2018-07-24 11:44:08 +01: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 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
Pooya Parsa 53e98a958c feat: rewrite core to esm 2018-03-16 19:42:06 +03:30
Pooya Parsa 361d1d4236 http2 push coverage 2018-01-05 13:21:18 +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
Atinux b132decf9d lint: Lint test/ 2017-10-31 14:26:19 +01:00
Sébastien Chopin 2cc78c0446 Remove dynamic components 2017-07-09 23:06:17 +02:00
Pooya Parsa bfd8475979 test(ssr): async components 2017-07-03 22:59:38 +04:30
Pooya Parsa 28d20ec262 test(ssr): add unique test 2017-07-03 22:49:22 +04:30