@@ -136,7 +136,7 @@ describe('useContextMenu', function () {
136136
137137 it ( 'renders without error' , function ( ) {
138138 render (
139- < ContextMenuProvider wrapper = { TestMenu } >
139+ < ContextMenuProvider menuWrapper = { TestMenu } >
140140 < TestComponent />
141141 </ ContextMenuProvider >
142142 ) ;
@@ -148,7 +148,7 @@ describe('useContextMenu', function () {
148148 const onRegister = sinon . spy ( ) ;
149149
150150 render (
151- < ContextMenuProvider wrapper = { TestMenu } >
151+ < ContextMenuProvider menuWrapper = { TestMenu } >
152152 < TestComponent onRegister = { onRegister } />
153153 </ ContextMenuProvider >
154154 ) ;
@@ -159,7 +159,7 @@ describe('useContextMenu', function () {
159159
160160 it ( 'shows context menu on right click' , function ( ) {
161161 render (
162- < ContextMenuProvider wrapper = { TestMenu } >
162+ < ContextMenuProvider menuWrapper = { TestMenu } >
163163 < TestComponent />
164164 </ ContextMenuProvider >
165165 ) ;
@@ -174,7 +174,7 @@ describe('useContextMenu', function () {
174174 describe ( 'with nested context menus' , function ( ) {
175175 it ( 'shows only parent items when right clicking parent area' , function ( ) {
176176 render (
177- < ContextMenuProvider wrapper = { TestMenu } >
177+ < ContextMenuProvider menuWrapper = { TestMenu } >
178178 < ParentComponent />
179179 </ ContextMenuProvider >
180180 ) ;
@@ -193,7 +193,7 @@ describe('useContextMenu', function () {
193193
194194 it ( 'shows both parent and child items when right clicking child area' , function ( ) {
195195 render (
196- < ContextMenuProvider wrapper = { TestMenu } >
196+ < ContextMenuProvider menuWrapper = { TestMenu } >
197197 < ParentComponent >
198198 < ChildComponent />
199199 </ ParentComponent >
@@ -215,7 +215,7 @@ describe('useContextMenu', function () {
215215 const childOnAction = sinon . spy ( ) ;
216216
217217 render (
218- < ContextMenuProvider wrapper = { TestMenu } >
218+ < ContextMenuProvider menuWrapper = { TestMenu } >
219219 < ParentComponent onAction = { parentOnAction } >
220220 < ChildComponent onAction = { childOnAction } />
221221 </ ParentComponent >
@@ -238,7 +238,7 @@ describe('useContextMenu', function () {
238238 const childOnAction = sinon . spy ( ) ;
239239
240240 render (
241- < ContextMenuProvider wrapper = { TestMenu } >
241+ < ContextMenuProvider menuWrapper = { TestMenu } >
242242 < ParentComponent onAction = { parentOnAction } >
243243 < ChildComponent onAction = { childOnAction } />
244244 </ ParentComponent >
0 commit comments