@tramvai/test-unit-jest 2.72.4 → 2.73.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.
- package/lib/jest-preset.js +3 -0
- package/lib/jest-preset.js.map +1 -1
- package/package.json +3 -2
package/lib/jest-preset.js
CHANGED
|
@@ -11,6 +11,9 @@ const config = {
|
|
|
11
11
|
// enable inline sourcemap to be able to debug tests
|
|
12
12
|
// based on https://github.com/swc-project/swc-node/issues/656
|
|
13
13
|
sourcemap: 'inline',
|
|
14
|
+
// force commonjs modules to prevent possible errors
|
|
15
|
+
// https://github.com/swc-project/swc-node/issues/699
|
|
16
|
+
module: 'commonjs',
|
|
14
17
|
},
|
|
15
18
|
],
|
|
16
19
|
},
|
package/lib/jest-preset.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jest-preset.js","sourceRoot":"","sources":["../src/jest-preset.ts"],"names":[],"mappings":";;AAEA,MAAM,MAAM,GAA0B;IACpC,UAAU,EAAE,oBAAoB;IAChC,eAAe,EAAE,MAAM;IAEvB,SAAS,EAAE;QACT,aAAa,EAAE;YACb,OAAO,CAAC,OAAO,CAAC,gBAAgB,CAAC;YACjC;gBACE,sBAAsB,EAAE,IAAI;gBAC5B,oDAAoD;gBACpD,8DAA8D;gBAC9D,SAAS,EAAE,QAAQ;
|
|
1
|
+
{"version":3,"file":"jest-preset.js","sourceRoot":"","sources":["../src/jest-preset.ts"],"names":[],"mappings":";;AAEA,MAAM,MAAM,GAA0B;IACpC,UAAU,EAAE,oBAAoB;IAChC,eAAe,EAAE,MAAM;IAEvB,SAAS,EAAE;QACT,aAAa,EAAE;YACb,OAAO,CAAC,OAAO,CAAC,gBAAgB,CAAC;YACjC;gBACE,sBAAsB,EAAE,IAAI;gBAC5B,oDAAoD;gBACpD,8DAA8D;gBAC9D,SAAS,EAAE,QAAQ;gBACnB,oDAAoD;gBACpD,qDAAqD;gBACrD,MAAM,EAAE,UAAU;aACnB;SACF;KACF;IAED,gBAAgB,EAAE;QAChB,eAAe,EAAE,OAAO,CAAC,OAAO,CAAC,oBAAoB,CAAC;QACtD,eAAe,EAAE,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC;KACrD;IAED,UAAU,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;CAC/C,CAAC;AAEF,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/test-unit-jest",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.73.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "jest-preset.js",
|
|
6
6
|
"files": [
|
|
@@ -20,8 +20,9 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@jest/types": "^29.0.2",
|
|
23
|
+
"@swc-node/core": "1.9.2",
|
|
23
24
|
"@swc-node/jest": "^1.5.5",
|
|
24
|
-
"@swc/core": "^1.3.
|
|
25
|
+
"@swc/core": "^1.3.36",
|
|
25
26
|
"@swc/helpers": "^0.4.14",
|
|
26
27
|
"identity-obj-proxy": "^3.0.0"
|
|
27
28
|
}
|