Skip to content

Commit

Permalink
chore: reset coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Apr 8, 2024
1 parent cf007e2 commit 92df7e0
Show file tree
Hide file tree
Showing 96 changed files with 247 additions and 247 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [18.17.1]

steps:
- uses: actions/checkout@v3
Expand All @@ -38,16 +38,16 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [18.x, 20.x]
node-version: [18.17.1, 20.x]
exclude:
- os: macos-latest
node-version: 20.x
- os: macos-latest
node-version: 18.x
node-version: 18.17.1
- os: windows-latest
node-version: 20.x
- os: windows-latest
node-version: 18.x
node-version: 18.17.1

steps:
- uses: actions/checkout@v3
Expand All @@ -73,7 +73,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [18.17.1]

steps:
- uses: actions/checkout@v3
Expand All @@ -95,7 +95,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [18.17.1]

steps:
- uses: actions/checkout@v3
Expand All @@ -117,7 +117,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [18.17.1]

steps:
- uses: actions/checkout@v3
Expand All @@ -139,7 +139,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [18.17.1]

steps:
- uses: actions/checkout@v3
Expand All @@ -161,7 +161,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [18.17.1]

steps:
- uses: actions/checkout@v3
Expand All @@ -183,7 +183,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [18.17.1]

steps:
- uses: actions/checkout@v3
Expand All @@ -205,7 +205,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [18.17.1]

steps:
- uses: actions/checkout@v3
Expand Down
8 changes: 4 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ module.exports = {
...jestConfig,
coverageThreshold: {
global: {
statements: 99.26,
branches: 91.16,
functions: 99.08,
lines: 99.28
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
};
8 changes: 4 additions & 4 deletions packages/core/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ module.exports = {
...require("@tsed/jest-config"),
coverageThreshold: {
global: {
statements: 98.75,
branches: 94,
functions: 94,
lines: 98.75
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
};
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"build": "yarn barrels && yarn build:ts && yarn run build:browser",
"barrels": "yarn barrelsby --delete -d ./src -e \"\\.spec\\.ts\"",
"build:browser": "webpack",
"test": "cross-env NODE_ENV=test yarn jest --max-workers=2 && jest-coverage-thresholds-bumper",
"test": "jest --max-workers=2 && jest-coverage-thresholds-bumper",
"build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json"
},
"dependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/di/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ module.exports = {
...require("@tsed/jest-config"),
coverageThreshold: {
global: {
statements: 99.08,
branches: 96.79,
lines: 99.08,
functions: 99.04
statements: 0,
branches: 0,
lines: 0,
functions: 0
}
}
};
2 changes: 1 addition & 1 deletion packages/di/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"build": "yarn barrels && yarn build:ts && yarn run build:browser",
"build:browser": "webpack",
"barrels": "yarn barrelsby --config .barrelsby.json",
"test": "cross-env NODE_ENV=test yarn jest --max-workers=2 && jest-coverage-thresholds-bumper",
"test": "jest --max-workers=2 && jest-coverage-thresholds-bumper",
"build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/engines/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"build": "yarn barrels && yarn build:ts",
"barrels": "yarn barrelsby --delete -d ./src -e \"\\.spec\\.ts\" -e \"__mock__\" -e \".benchmark.ts\"",
"test": "cross-env NODE_ENV=test nyc mocha --timeout 15000",
"test": "nyc mocha --timeout 15000",
"build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json"
},
"dependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/graphql/apollo/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ module.exports = {
...require("@tsed/jest-config"),
coverageThreshold: {
global: {
statements: 94.57,
branches: 79.31,
functions: 100,
lines: 94.57
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
};
2 changes: 1 addition & 1 deletion packages/graphql/apollo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"build": "yarn barrels && yarn build:ts",
"barrels": "yarn barrelsby --delete -d ./src -e \"\\.spec\\.ts\" -e \"__mock__\" -e \".benchmark.ts\"",
"test": "cross-env NODE_ENV=test jest && jest-coverage-thresholds-bumper",
"test": "jest && jest-coverage-thresholds-bumper",
"build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json"
},
"dependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/graphql/typegraphql/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ module.exports = {
},
coverageThreshold: {
global: {
statements: 94.65,
branches: 64.1,
functions: 94.65,
lines: 94.65
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
};
2 changes: 1 addition & 1 deletion packages/graphql/typegraphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"barrels": "yarn barrelsby --delete -d ./src -e \"\\.spec\\.ts\" -e \"__mock__\" -e \".benchmark.ts\"",
"start:express": "ts-node test/app/index.express.ts",
"start:koa": "ts-node test/app/index.koa.ts",
"test": "cross-env NODE_ENV=test jest && jest-coverage-thresholds-bumper",
"test": "jest && jest-coverage-thresholds-bumper",
"build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json"
},
"dependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/orm/adapters-redis/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ module.exports = {
...require("@tsed/jest-config"),
coverageThreshold: {
global: {
branches: 93.54,
functions: 100,
lines: 100,
statements: 100
branches: 0,
functions: 0,
lines: 0,
statements: 0
}
}
};
2 changes: 1 addition & 1 deletion packages/orm/adapters-redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"build": "yarn barrels && yarn build:ts",
"barrels": "yarn barrelsby --delete -d ./src -e \"\\.spec\\.ts\" -e \"__mock__\" -e \".benchmark.ts\"",
"test": "cross-env NODE_ENV=test yarn jest && jest-coverage-thresholds-bumper",
"test": "jest && jest-coverage-thresholds-bumper",
"build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json"
},
"dependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/orm/adapters/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ module.exports = {
},
coverageThreshold: {
global: {
branches: 87.5,
functions: 100,
lines: 100,
statements: 100
branches: 0,
functions: 0,
lines: 0,
statements: 0
}
}
};
2 changes: 1 addition & 1 deletion packages/orm/adapters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"build": "yarn barrels && yarn build:ts",
"barrels": "yarn barrelsby --delete -d ./src -e \"\\.spec\\.ts\" -e \"__mock__\" -e \".benchmark.ts\"",
"test": "cross-env NODE_ENV=test yarn jest && jest-coverage-thresholds-bumper",
"test": "jest && jest-coverage-thresholds-bumper",
"build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json"
},
"dependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/orm/ioredis/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ module.exports = {
...require("@tsed/jest-config"),
coverageThreshold: {
global: {
branches: 70,
functions: 70,
lines: 70,
statements: 70
branches: 0,
functions: 0,
lines: 0,
statements: 0
}
}
};
2 changes: 1 addition & 1 deletion packages/orm/ioredis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"build": "yarn barrels && yarn build:ts",
"barrels": "yarn barrelsby --delete -d ./src -e \"\\.spec\\.ts\" -e \"__mock__\" -e \".benchmark.ts\"",
"test": "cross-env NODE_ENV=test yarn jest && jest-coverage-thresholds-bumper",
"test": "jest && jest-coverage-thresholds-bumper",
"build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json"
},
"dependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/orm/mikro-orm/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ module.exports = {
roots: ["<rootDir>/src", "<rootDir>/test"],
coverageThreshold: {
global: {
branches: 87.05,
functions: 97.56,
lines: 98.24,
statements: 98.24
branches: 0,
functions: 0,
lines: 0,
statements: 0
}
}
};
2 changes: 1 addition & 1 deletion packages/orm/mikro-orm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"build": "yarn barrels && yarn build:ts",
"barrels": "yarn barrelsby --delete -d ./src -e \"\\.spec\\.ts\" -e \"__mock__\" -e \".benchmark.ts\"",
"test": "cross-env NODE_ENV=test jest",
"test": "jest",
"build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json"
},
"dependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/orm/mongoose/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ module.exports = {
},
coverageThreshold: {
global: {
statements: 99.07,
branches: 95.02,
functions: 100,
lines: 99.07
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
};
2 changes: 1 addition & 1 deletion packages/orm/mongoose/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"scripts": {
"build": "yarn barrels && yarn build:ts",
"barrels": "yarn barrelsby --delete -d ./src -e \"\\.spec\\.ts\" -e \"__mock__\" -e \".benchmark.ts\"",
"test": "cross-env NODE_ENV=test yarn jest && jest-coverage-thresholds-bumper",
"test": "jest && jest-coverage-thresholds-bumper",
"build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json"
},
"dependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/orm/objection/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ module.exports = {
},
coverageThreshold: {
global: {
branches: 96.2,
functions: 100,
lines: 98.26,
statements: 98.26
branches: 0,
functions: 0,
lines: 0,
statements: 0
}
}
};
2 changes: 1 addition & 1 deletion packages/orm/objection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"build": "yarn barrels && yarn build:ts",
"barrels": "yarn barrelsby --delete -d ./src -e \"\\.spec\\.ts\" -e \"__mock__\" -e \".benchmark.ts\"",
"test": "cross-env NODE_ENV=test yarn jest && jest-coverage-thresholds-bumper",
"test": "jest && jest-coverage-thresholds-bumper",
"build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json"
},
"dependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/orm/prisma/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ module.exports = {
...require("@tsed/jest-config"),
coverageThreshold: {
global: {
statements: 98.8,
branches: 93.47,
functions: 95.65,
lines: 98.8
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
};
2 changes: 1 addition & 1 deletion packages/orm/prisma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"scripts": {
"build": "rm -rf lib && yarn build:ts",
"test": "cross-env NODE_ENV=test yarn jest && jest-coverage-thresholds-bumper",
"test": "jest && jest-coverage-thresholds-bumper",
"generate:postgres": "cd test/postgres && prisma -v && prisma generate",
"generate:mongo": "cd test/mongo && prisma -v && prisma generate",
"build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json"
Expand Down
8 changes: 4 additions & 4 deletions packages/orm/typeorm/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ module.exports = {
},
coverageThreshold: {
global: {
statements: 96.49,
branches: 76.92,
functions: 94.11,
lines: 96.29
statements: 0,
branches: 0,
functions: 0,
lines: 0
}
}
};
Loading

0 comments on commit 92df7e0

Please sign in to comment.