mirror of
https://github.com/ferdikoomen/openapi-typescript-codegen.git
synced 2025-12-08 20:16:21 +00:00
- Added code coverage
This commit is contained in:
parent
b166cb7267
commit
30c2da411c
@ -22,4 +22,4 @@ jobs:
|
||||
command: yarn build
|
||||
- run:
|
||||
name: test
|
||||
command: yarn test
|
||||
command: yarn test:coverage
|
||||
|
||||
@ -3,4 +3,4 @@ node_js:
|
||||
- node
|
||||
script:
|
||||
- npm run build
|
||||
- npm run test
|
||||
- npm run test:coverage
|
||||
|
||||
@ -1,4 +1,11 @@
|
||||
module.exports = {
|
||||
testRegex: '\\.spec\\.(ts|js)$',
|
||||
testEnvironment: 'node'
|
||||
testEnvironment: 'node',
|
||||
collectCoverage: true,
|
||||
collectCoverageFrom: [
|
||||
'src/**/*.ts',
|
||||
'!src/**/*.d.ts',
|
||||
'!src/templates/**',
|
||||
'!**/node_modules/**',
|
||||
]
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user