mirror of
https://github.com/lowdefy/lowdefy.git
synced 2024-11-21 01:14:48 +08:00
chore: Update swc config
This commit is contained in:
parent
48f97809e8
commit
fd7afe485a
4
.swcrc
4
.swcrc
@ -12,8 +12,6 @@
|
||||
"transform": { "react": { "runtime": "classic" } }
|
||||
},
|
||||
"module": {
|
||||
"type": "es6",
|
||||
"noInterop": true,
|
||||
"ignoreDynamic": true
|
||||
"type": "es6"
|
||||
}
|
||||
}
|
||||
|
@ -11,8 +11,6 @@
|
||||
},
|
||||
"module": {
|
||||
"type": "es6",
|
||||
"noInterop": true,
|
||||
"ignoreDynamic": true
|
||||
},
|
||||
"sourceMaps": true
|
||||
}
|
||||
|
@ -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 () => {
|
||||
|
@ -33,8 +33,6 @@ export default {
|
||||
},
|
||||
module: {
|
||||
type: 'es6',
|
||||
noInterop: true,
|
||||
ignoreDynamic: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user