Nuxt/test/unit
Pim 88c9bae57b feat: add tests to check for changed files (#3893)
* feat: add tests to check for changed files

Make sure that if we are building or generating only files in buildDir and generate.dir are changed. If files in another location would also be changed due to a new config option, those locations should be guarded in lib/common/options so you cant set them lower then rootDir or srcDir.

* fix running tests inBand

use simpler path comparisons

* add debug logs for ci

use process.hrtime for waitFor test

* add debug logs for ci

use process.hrtime for waitFor test

* use writeFileSync should probably help

* use forEach instead of map when not returning a value

update waitFor test to compare values with jest

* fix appeveyor

* use lower limit than delay in waitFor test

revert isAppveyor export
2018-09-18 16:26:41 +02:00
..
basic.config.defaults.test.js refactor: mock consola in test 2018-08-16 17:23:26 +01:00
basic.dev.test.js feat(webpack, builder): allow extending loader options (#3799) 2018-09-10 12:57:01 +04:30
basic.fail.generate.test.js fix: prevent removing project by mistake due to build or generate paths (#3869) 2018-09-14 11:36:44 +04:30
basic.generate.test.js feat: add tests to check for changed files (#3893) 2018-09-18 16:26:41 +02:00
basic.ssr.csp.test.js feat: upgrade eslint to 5.x (#3494) 2018-08-31 21:34:12 +01:00
basic.ssr.test.js fix: no-ssr 1.0 supports placeholder tag 2018-09-13 10:11:29 +01:00
children.test.js fix: appveyor test failure (#3754) 2018-08-17 22:25:23 +02:00
cli.test.js Server middleware watcher (#3718) 2018-08-14 19:35:25 +01:00
custom-app-template.test.js fix: appveyor test failure (#3754) 2018-08-17 22:25:23 +02:00
custom-dirs.test.js fix: appveyor test failure (#3754) 2018-08-17 22:25:23 +02:00
dist-options.test.js feat: upgrade eslint to 5.x (#3494) 2018-08-31 21:34:12 +01:00
dynamic-routes.test.js eslint: Prefer const over let (#3650) 2018-08-08 12:54:05 +02:00
error.test.js fix: appveyor test failure (#3754) 2018-08-17 22:25:23 +02:00
express.test.js fix: appveyor test failure (#3754) 2018-08-17 22:25:23 +02:00
extract-css.test.js feat(webpack/client): minify extracted css assets (#3857) 2018-09-09 01:18:46 +04:30
fallback.generate.test.js feat: upgrade eslint to 5.x (#3494) 2018-08-31 21:34:12 +01:00
generator.test.js feat: add tests to check for changed files (#3893) 2018-09-18 16:26:41 +02:00
https.test.js feat(core, cli): builtin support of https and unix sockets (#3831) 2018-09-02 13:50:25 +04:30
module.test.js feat(builder, module): allow error layouts to be added through addLayout. closes #3194. (#3834) 2018-09-02 13:52:10 +04:30
nuxt.test.js fix: appveyor test failure (#3754) 2018-08-17 22:25:23 +02:00
sockets.test.js test: skip sockets test in windows platform 2018-09-13 10:07:34 +01:00
spa.test.js fix: async fetch and asyncData not trigger ErrorHandler (#3781) 2018-08-22 14:10:43 +01:00
ssr.test.js fix: appveyor test failure (#3754) 2018-08-17 22:25:23 +02:00
utils.test.js feat: add tests to check for changed files (#3893) 2018-09-18 16:26:41 +02:00
with-config.test.js feat: automatically include env variables starting with NUXT_ENV_ (#3862) 2018-09-09 01:38:25 +04:30
wp.config.test.js feat: upgrade to Babel 7 (#3667) 2018-08-10 14:45:58 +01:00