@wordpress/block-serialization-spec-parser 4.2.1-next.253d9b6e21.0 → 4.2.1-next.33ec3857e2.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/package.json +2 -2
- package/shared-tests.js +2 -2
- package/test/index.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/block-serialization-spec-parser",
|
|
3
|
-
"version": "4.2.1-next.
|
|
3
|
+
"version": "4.2.1-next.33ec3857e2.0",
|
|
4
4
|
"description": "Block serialization specification parser for WordPress posts.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"build:js": "pegjs --format commonjs -o ./parser.js ./grammar.pegjs",
|
|
38
38
|
"build:php": "node bin/create-php-parser.js"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "51c7917ea7fac72953702f24d6daac87d99e7617"
|
|
41
41
|
}
|
package/shared-tests.js
CHANGED
|
@@ -335,9 +335,9 @@ const hasPHP =
|
|
|
335
335
|
// skipping preserves snapshots while commenting out or simply
|
|
336
336
|
// not injecting the tests prompts `jest` to remove "obsolete snapshots"
|
|
337
337
|
const makeTest = hasPHP
|
|
338
|
-
? // eslint-disable-next-line jest/valid-describe, jest/valid-title
|
|
338
|
+
? // eslint-disable-next-line jest/valid-describe-callback, jest/valid-title
|
|
339
339
|
( ...args ) => describe( ...args )
|
|
340
|
-
: // eslint-disable-next-line jest/no-disabled-tests, jest/valid-describe, jest/valid-title
|
|
340
|
+
: // eslint-disable-next-line jest/no-disabled-tests, jest/valid-describe-callback, jest/valid-title
|
|
341
341
|
( ...args ) => describe.skip( ...args );
|
|
342
342
|
|
|
343
343
|
export const phpTester = ( name, filename ) =>
|
package/test/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import path from 'path';
|
|
|
9
9
|
import { parse } from '../';
|
|
10
10
|
import { jsTester, phpTester } from '../shared-tests';
|
|
11
11
|
|
|
12
|
-
describe( 'block-serialization-spec-parser-js', jsTester( parse ) ); // eslint-disable-line jest/valid-describe
|
|
12
|
+
describe( 'block-serialization-spec-parser-js', jsTester( parse ) ); // eslint-disable-line jest/valid-describe-callback
|
|
13
13
|
|
|
14
14
|
phpTester(
|
|
15
15
|
'block-serialization-spec-parser-php',
|