2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-08 17:22:34 +03:00

fix: removing multiple/trailing/leading whitespaces (#5022)

* fix: removing multiple/trailing/leading whitespaces

* Reverting changes in the dist directory

Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
Ivan Barsukov
2022-11-25 14:56:31 +01:00
committed by GitHub
parent cac6cfa6f6
commit 786b113a40
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ describe('core::AxiosError', function() {
const request = { path: '/foo' };
const response = { status: 200, data: { foo: 'bar' } };
const axiosError = AxiosError.from(error, 'ESOMETHING', { foo: 'bar' }, request, response);
const axiosError = AxiosError.from(error, 'ESOMETHING', { foo: 'bar' }, request, response);
expect(axiosError.config).toEqual({ foo: 'bar' });
expect(axiosError.code).toBe('ESOMETHING');
expect(axiosError.request).toBe(request);