Commit e3118ebd authored by Robert Knight's avatar Robert Knight

Remove obsolete `window.confirm` stub

parent 9a5b0685
......@@ -2,16 +2,6 @@ import { confirm } from '../prompts';
describe('shared/prompts', () => {
describe('confirm', () => {
beforeEach(() => {
// This will cause the custom ConfirmModal to be used instead of
// window.confirm
sinon.stub(window, 'confirm').returns(false);
});
afterEach(() => {
window.confirm.restore();
});
function clickClose() {
const closeButton = getCustomDialog().querySelector(
'[aria-label="Close"]'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment