Skip to content

Commit

Permalink
Fix the wordcount dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Mar 5, 2019
1 parent 2cfbaf9 commit f268410
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions lib/packages-dependencies.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
'wp-token-list',
'wp-url',
'wp-viewport',
'wp-wordcount',
),
'wp-blocks' => array(
'lodash',
Expand Down
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/block-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"@wordpress/token-list": "file:../token-list",
"@wordpress/url": "file:../url",
"@wordpress/viewport": "file:../viewport",
"@wordpress/wordcount": "file:../wordcount",
"classnames": "^2.2.5",
"dom-scroll-into-view": "^1.2.1",
"lodash": "^4.17.10",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ exports[`block deletion - deleting the third block using the Remove Block shortc
<!-- /wp:paragraph -->"
`;

exports[`block deletion - deleting third third and fourth blocks using backspace with multi-block selection results in two remaining blocks and positions the caret at the end of the second block 1`] = `
exports[`block deletion - deleting the third and fourth blocks using backspace with multi-block selection results in two remaining blocks and positions the caret at the end of the second block 1`] = `
"<!-- wp:paragraph -->
<p>First paragraph</p>
<!-- /wp:paragraph -->
Expand All @@ -90,7 +90,7 @@ exports[`block deletion - deleting third third and fourth blocks using backspace
<!-- /wp:paragraph -->"
`;

exports[`block deletion - deleting third third and fourth blocks using backspace with multi-block selection results in two remaining blocks and positions the caret at the end of the second block 2`] = `
exports[`block deletion - deleting the third and fourth blocks using backspace with multi-block selection results in two remaining blocks and positions the caret at the end of the second block 2`] = `
"<!-- wp:paragraph -->
<p>First paragraph</p>
<!-- /wp:paragraph -->
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/specs/block-deletion.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ describe( 'block deletion -', () => {
} );
} );

describe( 'deleting third third and fourth blocks using backspace with multi-block selection', () => {
describe( 'deleting the third and fourth blocks using backspace with multi-block selection', () => {
it( 'results in two remaining blocks and positions the caret at the end of the second block', async () => {
// Add a third paragraph for this test.
await page.keyboard.type( 'Third paragraph' );
Expand Down

0 comments on commit f268410

Please sign in to comment.