Commit 7c80d4ce authored by Markus Koller's avatar Markus Koller

Merge branch 'sam.figueroa-master-patch-34840' into 'master'

Fix typo in Axios FE guide.

See merge request gitlab-org/gitlab!68704
parents 94a2dfa0 b3678335
...@@ -75,7 +75,7 @@ We have also decided against using [Axios interceptors](https://github.com/axios ...@@ -75,7 +75,7 @@ We have also decided against using [Axios interceptors](https://github.com/axios
### Mock poll requests in tests with Axios ### Mock poll requests in tests with Axios
Because polling function requires a header object, we need to always include an object as the third argument: Because a polling function requires a header object, we need to always include an object as the third argument:
```javascript ```javascript
mock.onGet('/users').reply(200, { foo: 'bar' }, {}); mock.onGet('/users').reply(200, { foo: 'bar' }, {});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment