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 Sep 18, 2019
1 parent f9515bf commit 36545d1
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 36545d1

Please sign in to comment.