Skip to content

Commit

Permalink
fix: fix jest config ⛄
Browse files Browse the repository at this point in the history
  • Loading branch information
Uptip committed Dec 1, 2021
1 parent cffb945 commit 663cd84
Show file tree
Hide file tree
Showing 4 changed files with 878 additions and 19 deletions.
3 changes: 3 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: [['@babel/preset-env', { targets: { node: 'current' } }]],
};
6 changes: 2 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};
clearMocks: true,
};
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
"version": "1.0.0",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.4",
"@types/jest": "^27.0.3",
"babel-jest": "^27.4.2",
"hygen": "^6.1.0",
"jest": "^27.4.0",
"ts-jest": "^27.0.7",
"ts-node": "^10.4.0",
"ts-node-dev": "^1.1.8",
"typescript": "^4.5.2"
Expand Down
Loading

0 comments on commit 663cd84

Please sign in to comment.