configure cors url and transform ignore pattern for axios

This commit is contained in:
woodser 2024-08-26 14:10:13 -04:00
parent 321742e7bf
commit a79f1a3b8f

View File

@ -15,10 +15,17 @@
"typedoc": "typedoc ./src/index.ts --entryPointStrategy expand src/ --exclude **/*.test.ts --excludePrivate"
},
"jest": {
"testURL": "http://localhost:8080",
"testPathIgnorePatterns": [
"<rootDir>/dist/",
"/node_modules/"
],
"transformIgnorePatterns": [
"/node_modules/(?!axios|monero-ts).+\\.js$"
],
"transform": {
"^.+\\.(js|jsx|ts|tsx)$": "babel-jest"
},
"globals": {
"window": {}
}