update coverage test
This commit is contained in:
parent
100d018d3c
commit
a4b1fd9fa3
4 changed files with 4 additions and 6 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
node_modules
|
||||
dist
|
||||
dist
|
||||
src/
|
|
@ -54,12 +54,8 @@ When the data schema is updated, the database needs to be synchronised with the
|
|||
migrationName=<name> yarn migration:generate
|
||||
```
|
||||
|
||||
##################################################################################################################################
|
||||
|
||||
# Hiring Test
|
||||
|
||||
##################################################################################################################################
|
||||
|
||||
When working on the following exercise, in addition to answering the product need, to give particular attention to the following points:
|
||||
|
||||
- Readability
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"coveragePathIgnorePatterns": ["seed-*"],
|
||||
"moduleFileExtensions": ["js", "json", "ts"],
|
||||
"rootDir": "./src",
|
||||
"testEnvironment": "node",
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
||||
"test": "NODE_ENV=test jest --config ./jest.json",
|
||||
"test:watch": "jest --watch --config ./jest.json",
|
||||
"test:cov": "jest --coverage",
|
||||
"test:cov": "jest --collectCoverage --config ./jest.json",
|
||||
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
|
||||
"test:e2e": "NODE_ENV=test jest --config ./test-e2e/jest-e2e.json",
|
||||
"typeorm": "ts-node ./node_modules/typeorm/cli -d ./config/dataSource.ts",
|
||||
|
|
Loading…
Add table
Reference in a new issue