mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-04-19 07:15:52 -04:00
configure cors url and transform ignore pattern for axios
This commit is contained in:
parent
321742e7bf
commit
a79f1a3b8f
@ -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": {}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user