Commit Graph

4095 Commits

Author SHA1 Message Date
Sébastien Chopin
9c8837d52b
Merge pull request #3052 from nuxt/feat/jest
feat: migrate testing tool to jest
2018-03-19 17:58:45 +01:00
Pooya Parsa
884200b588 fix eslint 2018-03-19 20:08:11 +03:30
Pooya Parsa
0f180ad39f remove extra import 2018-03-19 20:00:03 +03:30
Pooya Parsa
984788362a fix(renderer): setAnsiColors is not a function 2018-03-19 19:56:56 +03:30
Pooya Parsa
03f3ff4517 fix: move extractText to base.config
fixes test/fixtures/ssr.
2018-03-19 19:50:45 +03:30
Pooya Parsa
3eea48899b update puppeteer to 1.2.0 2018-03-19 19:39:22 +03:30
Pooya Parsa
79d97b2be2 fix(ci): report coverage only for unit tests
jest + puppeteer: https://circleci.com/gh/nuxt/nuxt.js/581
2018-03-19 19:27:48 +03:30
Clark Du
190923e51a
fix: extractCSS:true and dev:false break building 2018-03-19 23:55:37 +08:00
Pooya Parsa
34c1cad8cc enable collectCoverage and codecov 2018-03-19 19:19:16 +03:30
Pooya Parsa
25a587544c Merge branch 'dev' into feat/jest 2018-03-19 19:14:19 +03:30
Clark Du
0a5f427b5b
fix: lint issue 2018-03-19 23:42:38 +08:00
Pooya Parsa
2976c575ab Merge branch 'dev' into feat/jest 2018-03-19 19:01:32 +03:30
Sébastien Chopin
f3bb1a69d8
Merge pull request #3041 from nuxt/feat/esm
feat: rewrite core to es
2018-03-19 16:22:59 +01:00
Pooya Parsa
9a403a156d Merge branch 'dev' into feat/esm 2018-03-19 18:48:41 +03:30
Clark Du
010064fcf0
refactor: add friendly-errors-webpack-plugin in both client and server 2018-03-19 22:47:39 +08:00
Clark Du
e116ff5a71 fix: extractCSS:true and dev:false break building 2018-03-19 22:43:34 +08:00
Clark Du
cf1fc9cb1c
fix: extractCSS:true and dev:false break building 2018-03-19 22:41:16 +08:00
Clark Du
d4f0a6f59a Merge remote-tracking branch 'upstream/dev' into feat/esm 2018-03-19 20:46:58 +08:00
Clark Du
ec87889133
ci(appveyor): not build feature branches with open pull requests 2018-03-19 18:26:57 +08:00
Clark Du
b2f0e0c066
fix: lint issue 2018-03-19 18:11:04 +08:00
Clark Du
db637c4d32
refactor: move tests to unit folder 2018-03-19 18:06:45 +08:00
Pooya Parsa
0e0729ddff fix imports 2018-03-19 12:01:25 +03:30
Clark Du
dde616fbdb
fix: avoid override of puppeteer browser 2018-03-19 16:29:44 +08:00
Pooya Parsa
be4adbd366 fix i,ports 2018-03-19 11:54:05 +03:30
Pooya Parsa
a4b4688f7c split e2e tests 2018-03-19 11:52:00 +03:30
Pooya Parsa
4500abc1a8 set maxWorkers=2 for test:unit 2018-03-19 11:27:28 +03:30
Pooya Parsa
d780794dfd pass NODE_ENV 2018-03-19 11:12:56 +03:30
Pooya Parsa
d10b6c96bf persist build artifacts 2018-03-19 11:07:52 +03:30
Pooya Parsa
de2f08fad7 fix indentation 2018-03-19 11:00:03 +03:30
Pooya Parsa
9f0bb806f5 circleci use attach_workspace 2018-03-19 10:57:25 +03:30
Clark Du
17b01d0aa8 Revert "temporarily comment _getPort for tesing"
This reverts commit ca1242d5ec.
2018-03-19 15:24:09 +08:00
Pooya Parsa
a22821af1b fix indentation 2018-03-19 10:51:50 +03:30
Pooya Parsa
06756f5216 fix circleci 2018-03-19 10:48:57 +03:30
Pooya Parsa
731ce56067 add circleCI pipeline 2018-03-19 10:46:22 +03:30
Clark Du
ca1242d5ec
temporarily comment _getPort for tesing 2018-03-19 15:05:02 +08:00
Clark Du
e801340107
refactor: fail exit when building fixtures failed 2018-03-19 14:54:14 +08:00
Clark Du
eace48fb8c
refactor: adjust process.env.CI 2018-03-19 14:37:19 +08:00
Clark Du
cfb44e7df5
refactor: temporarily skip spa.test 2018-03-19 14:33:46 +08:00
Clark Du
322caa4305
refactor: temporarily remove --coverage in jest 2018-03-19 14:32:52 +08:00
Clark Du
03862a10da
refactor: make build-fixtures slient in CI building 2018-03-19 14:20:13 +08:00
Clark Du
f9ccbb5754
refactor: make build-fixtures slient when not support tty 2018-03-19 14:08:23 +08:00
Clark Du
c12c5502ee
refactor: test and coverage script 2018-03-19 13:53:48 +08:00
Clark Du
e8ed1e5809
test: fix error.test 2018-03-19 13:48:11 +08:00
Clark Du
f537abe067
refactor: build-fixtures 2018-03-19 13:17:48 +08:00
Clark Du
b4727eb4c4
test: refactor generate tests 2018-03-19 12:21:04 +08:00
Clark Du
6cd7f04a4e
refactor: rename examples 2018-03-19 10:41:46 +08:00
Clark Du
cb9d286238
Merge remote-tracking branch 'upstream/dev' into feat/jest 2018-03-19 10:27:23 +08:00
Clark Du
eb6ee86845
test: remove error hook in module.test.js 2018-03-19 10:20:20 +08:00
Clark Du
0a4560e5e2
test: fix some typos 2018-03-19 10:19:19 +08:00
Clark Du
6c48ad2038
test: fix syntax error 2018-03-19 10:14:26 +08:00