Description
I am using jest test runner.
It seems to onOpened, onClosed callback is not called during the test but invoked in the launched application.
I can resolve this issue with
Modal.prototype.open = function (){
this.props.onOpened?.();
};
Modal.prototype.close = function (){
this.props.onClosed?.();
};
Description I am using jest test runner. It seems to
onOpened
,onClosed
callback is not called during the test but invoked in the launched application.I can resolve this issue with
in test environment set up process.
Library version
2.0.0
Info