Skip to content

Commit fd1c501

Browse files
committed
tweak download_test - msSaveBlob reset to afterAll -> afterEach
1 parent 1825153 commit fd1c501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jasmine/tests/download_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ describe('Plotly.downloadImage', function() {
3232

3333
afterAll(function() {
3434
document.createElement = createElement;
35-
navigator.msSaveBlob = msSaveBlob;
3635
});
3736

3837
beforeEach(function() {
@@ -43,6 +42,7 @@ describe('Plotly.downloadImage', function() {
4342
destroyGraphDiv();
4443
Lib.isIE = isIE;
4544
slzProto.serializeToString = serializeToString;
45+
navigator.msSaveBlob = msSaveBlob;
4646
});
4747

4848
it('should be attached to Plotly', function() {

0 commit comments

Comments
 (0)