@tsed/typegraphql 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.
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, "typegraphql"),
6
+ coverageThreshold: {
7
+ global: {
8
+ statements: 100,
9
+ branches: 70.58,
10
+ functions: 100,
11
+ lines: 100
12
+ }
13
+ }
14
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsed/typegraphql",
3
- "version": "6.114.16",
3
+ "version": "6.114.17",
4
4
  "description": "TypeGraphQL package for Ts.ED framework, based on Apollo-server-core and Type-graphql",
5
5
  "private": false,
6
6
  "source": "./src/index.ts",
@@ -20,15 +20,15 @@
20
20
  "barrels": "yarn barrelsby --delete -d ./src -e \"\\.spec\\.ts\" -e \"__mock__\" -e \".benchmark.ts\"",
21
21
  "start:express": "ts-node -r tsconfig-paths/register test/app/index.express.ts",
22
22
  "start:koa": "ts-node -r tsconfig-paths/register test/app/index.koa.ts",
23
- "test": "cross-env NODE_ENV=test nyc mocha"
23
+ "test": "cross-env NODE_ENV=test jest"
24
24
  },
25
25
  "dependencies": {
26
- "@tsed/apollo": "6.114.16",
26
+ "@tsed/apollo": "6.114.17",
27
27
  "tslib": "2.4.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@tsed/common": "6.114.16",
31
- "@tsed/core": "6.114.16",
30
+ "@tsed/common": "6.114.17",
31
+ "@tsed/core": "6.114.17",
32
32
  "@types/graphql": "^14.5.0",
33
33
  "class-validator": "~0.13.1",
34
34
  "graphql-passport": "0.6.3",
package/.mocharc.js DELETED
@@ -1,5 +0,0 @@
1
- module.exports = {
2
- ...require("@tsed/mocha-config")(),
3
- spec: ["{src,test}/**/*.spec.ts"],
4
- exclude: []
5
- };