build(all): codecov target
MODIFY
codecov.yml
codecov.yml
coverage:
status:
project:
- default:
enabled: false
- patch:
- default:
- enabled: true
+ target: auto
+ threshold: 5%
+ patch: no

MODIFY
package.json
package.json
"scripts": {
"build": "lerna run build",
"postbuild": "rimraf packages/**/*.spec.js packages/**/*.spec.d.ts",
- "benchmark": "make -C benchmarks",
+ "benchmark": "NODE_ENV=test make -C benchmarks",
"watch": "lerna run --parallel --stream watch",
"lint": "eslint ./packages/**/src --ext .ts",
"pretest": "yarn lint",

MODIFY
packages/websockets/src/server/specs/websocket.server.spec.ts
packages/websockets/src/server/specs/websocket.server.spec.ts
@@ -233,7 +233,7 @@ describe('WebSocket server', () => {
});
});
- describe.only('binary transformer', () => {
+ describe('binary transformer', () => {
const testBed = createWebSocketsTestBed();
beforeEach(testBed.bootstrap);

build(all): codecov target