Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2018-01-23 14:42:02 +0300
committerWinnie Hellmann <winnie@gitlab.com>2018-01-23 14:42:02 +0300
commit0711ebbd72b4e59b25bee2b0ba2444eecd3cfa7e (patch)
treec99d238da8a0ff64e666de6d3d0a65f7ed302a46 /spec/javascripts/blob
parent4dc42845f2ceadcff76a99908220e61610c5b608 (diff)
Use restore() instead of reset() for removing axios MockAdapter
Diffstat (limited to 'spec/javascripts/blob')
-rw-r--r--spec/javascripts/blob/notebook/index_spec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/javascripts/blob/notebook/index_spec.js b/spec/javascripts/blob/notebook/index_spec.js
index df1b2c9960b..a143fc827d5 100644
--- a/spec/javascripts/blob/notebook/index_spec.js
+++ b/spec/javascripts/blob/notebook/index_spec.js
@@ -45,7 +45,7 @@ describe('iPython notebook renderer', () => {
});
afterEach(() => {
- mock.reset();
+ mock.restore();
});
it('does not show loading icon', () => {
@@ -96,7 +96,7 @@ describe('iPython notebook renderer', () => {
});
afterEach(() => {
- mock.reset();
+ mock.restore();
});
it('does not show loading icon', () => {
@@ -127,7 +127,7 @@ describe('iPython notebook renderer', () => {
});
afterEach(() => {
- mock.reset();
+ mock.restore();
});
it('does not show loading icon', () => {