2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-17 19:21:29 +03:00

style: turn '()=>' into '() =>' (#6324)

Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
Justin Dhillon
2025-11-12 11:49:37 -08:00
committed by GitHub
parent f73474d02c
commit 4d06112452
11 changed files with 29 additions and 29 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ describe('core::mergeConfig', function() {
expect(merged.nestedConfig.propertyOnRequestConfig).toEqual(true);
});
describe('headers', ()=> {
describe('headers', () => {
it('should allow merging with AxiosHeaders instances', () => {
const merged = mergeConfig({
headers: new AxiosHeaders({
+1 -1
View File
@@ -133,7 +133,7 @@ describe('headers', function () {
});
});
it('should allow an AxiosHeaders instance to be used as the value of the headers option', async ()=> {
it('should allow an AxiosHeaders instance to be used as the value of the headers option', async () => {
const instance = axios.create({
headers: new AxiosHeaders({
xFoo: 'foo',
+1 -1
View File
@@ -84,7 +84,7 @@ describe('utils::merge', function () {
expect(d.a).not.toBe(a);
});
it('should support caseless option', ()=> {
it('should support caseless option', () => {
const a = {x: 1};
const b = {X: 2};
const merged = merge.call({caseless: true}, a, b);