@tsed/platform-koa 6.114.16 → 6.114.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/jest.config.js +14 -0
  2. package/package.json +13 -12
package/jest.config.js ADDED
@@ -0,0 +1,14 @@
1
+ // For a detailed explanation regarding each configuration property, visit:
2
+ // https://jestjs.io/docs/en/configuration.html
3
+
4
+ module.exports = {
5
+ ...require("@tsed/jest-config")(__dirname, "platform-koa"),
6
+ coverageThreshold: {
7
+ global: {
8
+ statements: 99.51,
9
+ branches: 85.45,
10
+ functions: 100,
11
+ lines: 99.5
12
+ }
13
+ }
14
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsed/platform-koa",
3
- "version": "6.114.16",
3
+ "version": "6.114.17",
4
4
  "description": "Koa package for Ts.ED framework",
5
5
  "private": false,
6
6
  "source": "./src/index.ts",
@@ -18,7 +18,8 @@
18
18
  "build:cjs": "tsc --build tsconfig.compile.json",
19
19
  "build:esm": "tsc --build tsconfig.compile.esm.json",
20
20
  "barrels": "yarn barrelsby --delete -d ./src -e \"\\.spec\\.ts\" -e \"__mock__\" -e \".benchmark.ts\"",
21
- "start": "ts-node -r tsconfig-paths/register test/app/index.ts"
21
+ "start": "ts-node -r tsconfig-paths/register test/app/index.ts",
22
+ "test": "cross-env NODE_ENV=test yarn jest --max-workers=2 --testTimeout 10000"
22
23
  },
23
24
  "keywords": [
24
25
  "Koa",
@@ -51,10 +52,10 @@
51
52
  "repository": "https://github.com/tsedio/tsed",
52
53
  "devDependencies": {
53
54
  "@koa/cors": "3.3.0",
54
- "@tsed/common": "6.114.16",
55
- "@tsed/core": "6.114.16",
56
- "@tsed/di": "6.114.16",
57
- "@tsed/platform-test-utils": "6.114.16",
55
+ "@tsed/common": "6.114.17",
56
+ "@tsed/core": "6.114.17",
57
+ "@tsed/di": "6.114.17",
58
+ "@tsed/platform-test-utils": "6.114.17",
58
59
  "@types/koa": "2.13.4",
59
60
  "@types/koa-bodyparser": "4.3.7",
60
61
  "@types/koa-compose": "3.2.5",
@@ -79,13 +80,13 @@
79
80
  "tslib": "2.4.0"
80
81
  },
81
82
  "peerDependencies": {
82
- "@tsed/common": "^6.114.16",
83
- "@tsed/core": "^6.114.16",
84
- "@tsed/di": "^6.114.16",
85
- "@tsed/json-mapper": "^6.114.16",
83
+ "@tsed/common": "^6.114.17",
84
+ "@tsed/core": "^6.114.17",
85
+ "@tsed/di": "^6.114.17",
86
+ "@tsed/json-mapper": "^6.114.17",
86
87
  "@tsed/logger": ">=6.1.4",
87
- "@tsed/openspec": "^6.114.16",
88
- "@tsed/schema": "^6.114.16",
88
+ "@tsed/openspec": "^6.114.17",
89
+ "@tsed/schema": "^6.114.17",
89
90
  "koa": ">=2.13.0",
90
91
  "koa-bodyparser": ">=4.3.0",
91
92
  "koa-compress": ">=5.0.1",