Skip to content

Commit a2c7d0a

Browse files
committed
Use finally
1 parent 86e6cb4 commit a2c7d0a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/wproofreader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ describe('WProofreader', () => {
467467
.catch((e) => {
468468
expect(e.message).to.be.equal('WEBSPELLCHECKER is not defined.');
469469
})
470-
.then(() => {
470+
.finally(() => {
471471
window.WEBSPELLCHECKER = copy;
472472
});
473473
});

0 commit comments

Comments
 (0)