Skip to content

Commit

Permalink
Blocks: Add used packages to fix tests.
Browse files Browse the repository at this point in the history
These aren't needed to run the code, because they exist in the `wp` namespace as externals, but they are needed for unit tests, since they don't otherwise exist in that context.

See WordPress/gutenberg#17016 (comment).
  • Loading branch information
iandunn committed Aug 29, 2019
1 parent 9e39553 commit 86d07b3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions public_html/wp-content/mu-plugins/blocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@
"npm": ">=6.0.0"
},
"dependencies": {
"@wordpress/api-fetch": "^3.4.0",
"@wordpress/block-editor": "3.0.0",
"@wordpress/components": "8.1.0",
"@wordpress/core-data": "^2.5.0",
"@wordpress/date": "^3.4.0",
"@wordpress/element": "2.6.0",
"classnames": "2.2.6",
"react-select": "3.0.4",
"rememo": "3.0.0"
},
"devDependencies": {
"@wordpress/components": "8.1.0",
"@wordpress/element": "2.6.0",
"@wordpress/eslint-plugin": "^2.3.0",
"@wordpress/scripts": "3.4.0",
"css-loader": "1.0.1",
Expand Down

0 comments on commit 86d07b3

Please sign in to comment.