You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing integration tests and some test are failing because this plugin, i'm getting the following error: TypeError: Cannot set property 'testid' of undefined at OffCanvas.createOffCanvasRoot (node_modules/react-aria-offcanvas/dist/OffCanvas.js:199:44) at new OffCanvas (node_modules/react-aria-offcanvas/dist/OffCanvas.js:208:11)
if I comment the next line from OffCanvas.js -> _defineProperty, all the test pass: _this.offCanvasRoot.dataset.testid = 'offcanvas-portal';
What can I do to be able to pass all the tests?
Thank you so much!
The text was updated successfully, but these errors were encountered:
I'm writing integration tests and some test are failing because this plugin, i'm getting the following error:
TypeError: Cannot set property 'testid' of undefined at OffCanvas.createOffCanvasRoot (node_modules/react-aria-offcanvas/dist/OffCanvas.js:199:44) at new OffCanvas (node_modules/react-aria-offcanvas/dist/OffCanvas.js:208:11)
if I comment the next line from OffCanvas.js -> _defineProperty, all the test pass:
_this.offCanvasRoot.dataset.testid = 'offcanvas-portal';
What can I do to be able to pass all the tests?
Thank you so much!
The text was updated successfully, but these errors were encountered: