creditu-common-library 2.3.5 → 2.3.6
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-functional.ts +3 -5
- package/jest.config.ts +9 -8
- package/package.json +16 -20
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
* For a detailed explanation regarding each configuration property and type check, visit:
|
|
3
|
-
* https://jestjs.io/docs/en/configuration.html
|
|
4
|
-
*/
|
|
1
|
+
import type { Config } from 'jest';
|
|
5
2
|
|
|
6
|
-
|
|
3
|
+
const config: Config = {
|
|
7
4
|
// All imported modules in your tests should be mocked automatically
|
|
8
5
|
// automock: false,
|
|
9
6
|
|
|
@@ -199,3 +196,4 @@ export default {
|
|
|
199
196
|
|
|
200
197
|
testTimeout: 10000
|
|
201
198
|
};
|
|
199
|
+
export default config;
|
package/jest.config.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
* For a detailed explanation regarding each configuration property and type check, visit:
|
|
3
|
-
* https://jestjs.io/docs/en/configuration.html
|
|
4
|
-
*/
|
|
1
|
+
import type { Config } from 'jest';
|
|
5
2
|
|
|
6
|
-
|
|
3
|
+
const config: Config = {
|
|
7
4
|
// All imported modules in your tests should be mocked automatically
|
|
8
5
|
// automock: false,
|
|
9
6
|
|
|
@@ -69,7 +66,10 @@ export default {
|
|
|
69
66
|
// A set of global variables that need to be available in all test environments
|
|
70
67
|
// globals: {},
|
|
71
68
|
|
|
72
|
-
// The maximum amount of workers used to run your tests.
|
|
69
|
+
// The maximum amount of workers used to run your tests.
|
|
70
|
+
// Can be specified as % or a number.
|
|
71
|
+
// E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number.
|
|
72
|
+
// maxWorkers: 2 will use a maximum of 2 workers.
|
|
73
73
|
// maxWorkers: "50%",
|
|
74
74
|
|
|
75
75
|
// An array of directory names to be searched recursively up from the requiring module's location
|
|
@@ -83,8 +83,8 @@ export default {
|
|
|
83
83
|
'json',
|
|
84
84
|
// "jsx",
|
|
85
85
|
'ts'
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
// "tsx",
|
|
87
|
+
// "node"
|
|
88
88
|
],
|
|
89
89
|
|
|
90
90
|
// A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module
|
|
@@ -207,3 +207,4 @@ export default {
|
|
|
207
207
|
|
|
208
208
|
testTimeout: 10000
|
|
209
209
|
};
|
|
210
|
+
export default config;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "creditu-common-library",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"files": [
|
|
@@ -25,30 +25,26 @@
|
|
|
25
25
|
},
|
|
26
26
|
"homepage": "https://gitlab.com/creditu-team/creditu-common-library#readme",
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@babel/preset-typescript": "^7.
|
|
29
|
-
"@types/jest": "^29.
|
|
30
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
31
|
-
"@typescript-eslint/parser": "^5.
|
|
32
|
-
"eslint": "^8.
|
|
28
|
+
"@babel/preset-typescript": "^7.24.1",
|
|
29
|
+
"@types/jest": "^29.5.12",
|
|
30
|
+
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
31
|
+
"@typescript-eslint/parser": "^5.62.0",
|
|
32
|
+
"eslint": "^8.57.0",
|
|
33
33
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
34
|
-
"eslint-
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"prettier-eslint": "^15.0.1",
|
|
39
|
-
"ts-jest": "^29.0.5",
|
|
40
|
-
"ts-node": "^10.9.1",
|
|
34
|
+
"eslint-plugin-import": "^2.29.1",
|
|
35
|
+
"jest": "^29.7.0",
|
|
36
|
+
"ts-jest": "^29.1.2",
|
|
37
|
+
"ts-node": "^10.9.2",
|
|
41
38
|
"typescript": "^4.9.5"
|
|
42
39
|
},
|
|
43
40
|
"dependencies": {
|
|
44
|
-
"@nestjs/common": "^9.
|
|
41
|
+
"@nestjs/common": "^9.4.3",
|
|
45
42
|
"creditu-date-model": "^2.9.0",
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"xlsx": "https://cdn.sheetjs.com/xlsx-0.19.3/xlsx-0.19.3.tgz"
|
|
43
|
+
"dinero.js": "^1.9.1",
|
|
44
|
+
"express": "^4.19.2",
|
|
45
|
+
"reflect-metadata": "^0.1.14",
|
|
46
|
+
"rxjs": "^7.8.1",
|
|
47
|
+
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz"
|
|
52
48
|
},
|
|
53
49
|
"volta": {
|
|
54
50
|
"node": "18.15.0"
|