diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2018-01-23 12:42:02 +0100 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2018-01-23 12:42:02 +0100 |
commit | 0711ebbd72b4e59b25bee2b0ba2444eecd3cfa7e (patch) | |
tree | c99d238da8a0ff64e666de6d3d0a65f7ed302a46 /spec/javascripts/blob | |
parent | 4dc42845f2ceadcff76a99908220e61610c5b608 (diff) | |
download | gitlab-ce-0711ebbd72b4e59b25bee2b0ba2444eecd3cfa7e.tar.gz |
Use restore() instead of reset() for removing axios MockAdapterwinh-axios-mock-restore
Diffstat (limited to 'spec/javascripts/blob')
-rw-r--r-- | spec/javascripts/blob/notebook/index_spec.js | 6 |
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', () => { |