@nx/jest 0.0.0-pr-30457-0ed97e4 → 0.0.0-pr-30516-4c8bfff
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/jest",
|
|
3
|
-
"version": "0.0.0-pr-
|
|
3
|
+
"version": "0.0.0-pr-30516-4c8bfff",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for Jest contains executors and generators allowing your workspace to use the powerful Jest testing capabilities.",
|
|
6
6
|
"repository": {
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@jest/reporters": "^29.4.1",
|
|
39
39
|
"@jest/test-result": "^29.4.1",
|
|
40
|
-
"@nx/devkit": "0.0.0-pr-
|
|
41
|
-
"@nx/js": "0.0.0-pr-
|
|
40
|
+
"@nx/devkit": "0.0.0-pr-30516-4c8bfff",
|
|
41
|
+
"@nx/js": "0.0.0-pr-30516-4c8bfff",
|
|
42
42
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
43
43
|
"identity-obj-proxy": "3.0.0",
|
|
44
44
|
"jest-config": "^29.4.1",
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
<% if(setupFile === 'react-native') { %>import '@testing-library/jest-native/extend-expect';<% } %>
|
|
2
|
-
<%_ if(setupFile === 'react-router') { _%>
|
|
3
|
-
import { TextEncoder, TextDecoder as NodeTextDecoder } from "util";
|
|
4
|
-
|
|
5
|
-
global.TextEncoder = TextEncoder;
|
|
6
|
-
global.TextDecoder = NodeTextDecoder as typeof TextDecoder; // necessary because there is a mismatch between ts type and node type
|
|
7
|
-
<%_ } _%>
|
|
1
|
+
<% if(setupFile === 'react-native') { %>import '@testing-library/jest-native/extend-expect';<% } %>
|
|
@@ -6,12 +6,7 @@ export interface JestProjectSchema {
|
|
|
6
6
|
* @deprecated use setupFile instead
|
|
7
7
|
*/
|
|
8
8
|
skipSetupFile?: boolean;
|
|
9
|
-
setupFile?:
|
|
10
|
-
| 'angular'
|
|
11
|
-
| 'web-components'
|
|
12
|
-
| 'react-native'
|
|
13
|
-
| 'react-router'
|
|
14
|
-
| 'none';
|
|
9
|
+
setupFile?: 'angular' | 'web-components' | 'react-native' | 'none';
|
|
15
10
|
skipSerializers?: boolean;
|
|
16
11
|
testEnvironment?: 'node' | 'jsdom' | 'none';
|
|
17
12
|
/**
|