chore: Update swc config

This commit is contained in:
Sam Tolmay 2023-09-15 15:26:35 +02:00
parent 48f97809e8
commit fd7afe485a
4 changed files with 1 additions and 11 deletions

4
.swcrc
View File

@ -12,8 +12,6 @@
"transform": { "react": { "runtime": "classic" } }
},
"module": {
"type": "es6",
"noInterop": true,
"ignoreDynamic": true
"type": "es6"
}
}

View File

@ -11,8 +11,6 @@
},
"module": {
"type": "es6",
"noInterop": true,
"ignoreDynamic": true
},
"sourceMaps": true
}

View File

@ -120,10 +120,6 @@ test('axios error', async () => {
);
});
test('other error', async () => {
await expect(AxiosHttp({ request: { url: true } })).rejects.toThrow('Invalid URL');
});
// TODO: postman response has changed. Improve tests.
// Use a mock maybe to avoid the need for a network connection
// test('https Agent options in request', async () => {

View File

@ -33,8 +33,6 @@ export default {
},
module: {
type: 'es6',
noInterop: true,
ignoreDynamic: true,
},
},
},