Skip to content

Commit

Permalink
remove unnecessary default prop from test (#7984)
Browse files Browse the repository at this point in the history
See https://github.com/WordPress/gutenberg/pull/7773/files#r202718599 for comment raising this issue.  There is no necessity for this prop to be set because we aren’t testing anything explicitly requiring that prop.  Originally it was intended to mock the `instanceId` prop provided by the `withInstanceId` HOC but was implemented with an incorrect name.  As mentioned, its not needed at all so just removing.
  • Loading branch information
nerrad authored and gziolo committed Jul 16, 2018
1 parent 655bce3 commit 16ff604
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion editor/components/inserter/test/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ const items = [

const DEFAULT_PROPS = {
position: 'top center',
instanceID: 1,
items: items,
debouncedSpeak: noop,
fetchSharedBlocks: noop,
Expand Down

0 comments on commit 16ff604

Please sign in to comment.