@tsed/jwks 6.100.1 → 6.102.0

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 +2 -1
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, "jwk"),
6
+ coverageThreshold: {
7
+ global: {
8
+ statements: 100,
9
+ branches: 85.71,
10
+ functions: 100,
11
+ lines: 100
12
+ }
13
+ }
14
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsed/jwks",
3
- "version": "6.100.1",
3
+ "version": "6.102.0",
4
4
  "description": "Utils to generate jwks pair keys",
5
5
  "source": "./src/index.ts",
6
6
  "main": "./lib/cjs/index.js",
@@ -15,6 +15,7 @@
15
15
  "build": "yarn run build:esm && yarn run build:cjs",
16
16
  "build:cjs": "tsc --build tsconfig.compile.json",
17
17
  "build:esm": "tsc --build tsconfig.compile.esm.json",
18
+ "test": "cross-env NODE_ENV=test yarn jest --max-workers=2",
18
19
  "start": "ts-node -r tsconfig-paths/register test/app/index.ts"
19
20
  },
20
21
  "dependencies": {