summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2018-01-23 12:42:02 +0100
committerWinnie Hellmann <winnie@gitlab.com>2018-01-23 12:42:02 +0100
commit0711ebbd72b4e59b25bee2b0ba2444eecd3cfa7e (patch)
treec99d238da8a0ff64e666de6d3d0a65f7ed302a46 /doc
parent4dc42845f2ceadcff76a99908220e61610c5b608 (diff)
downloadgitlab-ce-0711ebbd72b4e59b25bee2b0ba2444eecd3cfa7e.tar.gz
Use restore() instead of reset() for removing axios MockAdapterwinh-axios-mock-restore
Diffstat (limited to 'doc')
-rw-r--r--doc/development/fe_guide/axios.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/development/fe_guide/axios.md b/doc/development/fe_guide/axios.md
index 34fa684c5d6..71c793a293f 100644
--- a/doc/development/fe_guide/axios.md
+++ b/doc/development/fe_guide/axios.md
@@ -50,7 +50,7 @@ To help us mock the responses we need we use [axios-mock-adapter][axios-mock-ada
});
afterEach(() => {
- mock.reset();
+ mock.restore();
});
```