Skip to content

Commit

Permalink
fix: ajusta build del proyecto y testes de jest
Browse files Browse the repository at this point in the history
  • Loading branch information
drusco committed Jul 26, 2023
1 parent a559eed commit a2cb1e8
Show file tree
Hide file tree
Showing 16 changed files with 1,581 additions and 80 deletions.
13 changes: 13 additions & 0 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
],
"@babel/preset-typescript"
]
}
6 changes: 5 additions & 1 deletion jest.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"preset": "ts-jest",
"testEnvironment": "node"
"testEnvironment": "node",
"transform": {
"^.+\\.(ts|tsx)?$": "ts-jest",
"^.+\\.(js|jsx)$": "babel-jest"
}
}
Loading

0 comments on commit a2cb1e8

Please sign in to comment.