spec: do not leave dialogs in the dom

Change-Id: I6ed33e19803420cb6adb00116cacbe7b92eadc76
Reviewed-on: https://gerrit.instructure.com/208099
Tested-by: Jenkins
Reviewed-by: Gary Mei <gmei@instructure.com>
QA-Review: Jeremy Neander <jneander@instructure.com>
Product-Review: Jeremy Neander <jneander@instructure.com>
This commit is contained in:
Jeremy Neander 2019-09-04 12:12:19 -05:00
parent aaff474776
commit 8a1ac1e3ad
1 changed files with 2 additions and 2 deletions

View File

@ -54,8 +54,8 @@ QUnit.module('AssignmentMuterDialogManager', suiteHooks => {
QUnit.module('#showDialog()', hooks => { QUnit.module('#showDialog()', hooks => {
hooks.beforeEach(() => { hooks.beforeEach(() => {
sinon.spy(AssignmentMuter.prototype, 'confirmUnmute') sinon.stub(AssignmentMuter.prototype, 'confirmUnmute')
sinon.spy(AssignmentMuter.prototype, 'showDialog') sinon.stub(AssignmentMuter.prototype, 'showDialog')
}) })
hooks.afterEach(() => { hooks.afterEach(() => {