@emarketeer/ts-microservice-commons 5.1.0 → 5.1.1
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/dist/lib/em-commons.js
CHANGED
|
@@ -3075,7 +3075,7 @@ try {
|
|
|
3075
3075
|
result = runCommand('npx tsc --noEmit', scriptArgs);
|
|
3076
3076
|
}
|
|
3077
3077
|
if (script === 'jest') {
|
|
3078
|
-
result = runCommand('npx cross-env NODE_OPTIONS=--max_old_space_size=4096 jest -w
|
|
3078
|
+
result = runCommand('npx cross-env NODE_OPTIONS=--max_old_space_size=4096 jest -w 4 --ci --forceExit --config node_modules/@emarketeer/ts-microservice-commons/dist/lib/jest.config.js', scriptArgs);
|
|
3079
3079
|
}
|
|
3080
3080
|
if (!supportedCommands.includes(script)) {
|
|
3081
3081
|
generateServerlessConfig();
|
package/dist/lib/jest.config.js
CHANGED
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
verbose: true,
|
|
10
10
|
testEnvironment: 'node',
|
|
11
11
|
transform: {
|
|
12
|
-
'^.+\\.tsx?$':
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
12
|
+
'^.+\\.tsx?$': [
|
|
13
|
+
'ts-jest',
|
|
14
|
+
{
|
|
15
|
+
tsconfig: {
|
|
16
|
+
target: 'es6'
|
|
17
|
+
},
|
|
18
|
+
isolatedModules: true
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
21
|
},
|
|
22
22
|
testRunner: 'jest-circus/runner',
|
|
23
23
|
setupFilesAfterEnv: ['jest-extended'],
|