mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-06 21:10:38 +00:00
enable collectCoverage and codecov
This commit is contained in:
parent
25a587544c
commit
34c1cad8cc
@ -62,7 +62,7 @@ jobs:
|
||||
at: ~/project
|
||||
- run:
|
||||
name: Test
|
||||
command: yarn test:unit
|
||||
command: yarn test:unit && yarn coverage
|
||||
environment:
|
||||
- NODE_ENV: "test"
|
||||
|
||||
@ -73,7 +73,7 @@ jobs:
|
||||
at: ~/project
|
||||
- run:
|
||||
name: Test (e2e)
|
||||
command: yarn test:e2e
|
||||
command: yarn test:e2e && yarn coverage
|
||||
environment:
|
||||
- NODE_ENV: "test"
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
module.exports = {
|
||||
'testEnvironment': 'node',
|
||||
'coverageDirectory': './coverage/',
|
||||
'setupTestFrameworkScriptFile': './test/utils/setup'
|
||||
testEnvironment: 'node',
|
||||
coverageDirectory: './coverage/',
|
||||
collectCoverage: true,
|
||||
setupTestFrameworkScriptFile: './test/utils/setup'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user