Improve error handling in utils.fetch and its uses

Minor fixes in tests

Revert to ES2019
This commit is contained in:
Shivam Mathur
2021-07-09 11:26:38 +05:30
parent 39491a0fba
commit 14fa980966
6 changed files with 168 additions and 111 deletions

View File

@ -2,7 +2,7 @@
"compilerOptions": {
"esModuleInterop": true,
"lib": [
"ESNext"
"ES2019"
],
"module": "commonjs",
"moduleResolution": "node",
@ -12,7 +12,7 @@
"rootDir": "./src",
"sourceMap": true,
"strict": true,
"target": "ESNext"
"target": "ES2019"
},
"exclude": ["__tests__", "lib", "node_modules"]
}