Skip to content

Commit 352a402

Browse files
committed
update version of tmp, make axios behave in tests
1 parent 93cbc22 commit 352a402

File tree

3 files changed

+14
-16
lines changed

3 files changed

+14
-16
lines changed

jest.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,7 @@ module.exports = {
2626
lines: 88,
2727
}
2828
},
29+
moduleNameMapper: {
30+
"^axios$": "axios/dist/node/axios.cjs"
31+
}
2932
}

package-lock.json

Lines changed: 10 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"string-format-old": "npm:[email protected]",
4747
"tar-old": "npm:[email protected]",
4848
"tar-stream-old": "npm:[email protected]",
49-
"tmp": "0.2.1",
49+
"tmp": "^0.2.5",
5050
"ts-jest": "27.1.3",
5151
"ts-node": "^10.5.0",
5252
"typescript": "^4.5.5",

0 commit comments

Comments
 (0)