Skip to content

Commit de6daa3

Browse files
authored
Merge pull request #8088 from ampproject/dependabot/npm_and_yarn/wordpress-packages-e039c0eab9
2 parents 147ebd6 + 45bad93 commit de6daa3

File tree

4 files changed

+645
-681
lines changed

4 files changed

+645
-681
lines changed

assets/src/block-validation/components/error/test/error.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,34 +35,39 @@ global.URL = class {};
3535

3636
function registerBlockTypes() {
3737
registerBlockType(TEST_PLUGIN_BLOCK, {
38+
apiVersion: 3,
3839
attributes: {},
3940
save: noop,
4041
category: 'widgets',
4142
title: 'test plugin block',
4243
});
4344

4445
registerBlockType(TEST_MU_PLUGIN_BLOCK, {
46+
apiVersion: 3,
4547
attributes: {},
4648
save: noop,
4749
category: 'widgets',
4850
title: 'test mu-plugin block',
4951
});
5052

5153
registerBlockType(TEST_THEME_BLOCK, {
54+
apiVersion: 3,
5255
attributes: {},
5356
save: noop,
5457
category: 'widgets',
5558
title: 'test theme block',
5659
});
5760

5861
registerBlockType(TEST_CORE_BLOCK, {
62+
apiVersion: 3,
5963
attributes: {},
6064
save: noop,
6165
category: 'widgets',
6266
title: 'test core block',
6367
});
6468

6569
registerBlockType(TEST_UNKNOWN_BLOCK, {
70+
apiVersion: 3,
6671
attributes: {},
6772
save: noop,
6873
category: 'widgets',

assets/src/block-validation/components/with-amp-toolbar-button/test/add-toolbar-button-to-block.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jest.mock('../amp-toolbar-button', () => ({
3030
describe('withAMPToolbarButton: filtering with errors', () => {
3131
beforeAll(() => {
3232
registerBlockType(TEST_BLOCK, {
33+
apiVersion: 3,
3334
attributes: {},
3435
save: noop,
3536
category: 'widgets',

0 commit comments

Comments
 (0)