@wordpress/jest-preset-default 11.29.0 → 12.0.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/README.md +2 -2
- package/package.json +5 -4
- package/scripts/setup-globals.js +2 -1
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Install the module
|
|
|
10
10
|
npm install @wordpress/jest-preset-default --save-dev
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
**Note**: This package requires Node.js
|
|
13
|
+
**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions.
|
|
14
14
|
|
|
15
15
|
## Setup
|
|
16
16
|
|
|
@@ -89,7 +89,7 @@ Finally, you should add `enzyme-to-json/serializer` to the array of [`snapshotSe
|
|
|
89
89
|
|
|
90
90
|
```javascript
|
|
91
91
|
{
|
|
92
|
-
snapshotSerializers: [ 'enzyme-to-json/serializer' ]
|
|
92
|
+
snapshotSerializers: [ 'enzyme-to-json/serializer' ];
|
|
93
93
|
}
|
|
94
94
|
```
|
|
95
95
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/jest-preset-default",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.1",
|
|
4
4
|
"description": "Default Jest preset for WordPress development.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
"url": "https://github.com/WordPress/gutenberg/issues"
|
|
22
22
|
},
|
|
23
23
|
"engines": {
|
|
24
|
-
"node": ">=
|
|
24
|
+
"node": ">=18.12.0",
|
|
25
|
+
"npm": ">=8.19.2"
|
|
25
26
|
},
|
|
26
27
|
"files": [
|
|
27
28
|
"scripts",
|
|
@@ -30,7 +31,7 @@
|
|
|
30
31
|
],
|
|
31
32
|
"main": "index.js",
|
|
32
33
|
"dependencies": {
|
|
33
|
-
"@wordpress/jest-console": "^
|
|
34
|
+
"@wordpress/jest-console": "^8.0.1",
|
|
34
35
|
"babel-jest": "^29.6.2"
|
|
35
36
|
},
|
|
36
37
|
"peerDependencies": {
|
|
@@ -40,5 +41,5 @@
|
|
|
40
41
|
"publishConfig": {
|
|
41
42
|
"access": "public"
|
|
42
43
|
},
|
|
43
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "0e973525f7787401b5a544e0727774d52a78639f"
|
|
44
45
|
}
|
package/scripts/setup-globals.js
CHANGED