avoid instability of tests due to Alert callback testing, which can prevent notifications from getting displayed
This commit is contained in:
@@ -218,6 +218,7 @@ describe('Alert', function () {
|
||||
return jsc.random(0, 1) ? true : $element;
|
||||
});
|
||||
functions[trigger](message);
|
||||
$.PrivateBin.Alert.setCustomHandler(null);
|
||||
return handlerCalled;
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user