Skip to content

Commit

Permalink
chore: 🔧 fix module resolution in tests directory
Browse files Browse the repository at this point in the history
  • Loading branch information
djdembeck committed Jun 15, 2022
1 parent f4235c9 commit 0b11e9c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions tests/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"compilerOptions": {
"baseUrl": "../src",
"paths": {
"#config/*": ["config/*"],
"#helpers/*": ["helpers/*"],
"#interfaces/*": ["interfaces/*"],
"#models/*": ["config/models/*"],
"#papr": ["config/papr"],
"#routes/*": ["config/routes/*"],
"#typing/*": ["config/typing/*"]
},
},
"include": ["**/*.test.ts"],
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
"noImplicitAny": true,
"skipLibCheck": true
},
"exclude": ["**/*.test.ts"]
"include": ["src/"]
}

0 comments on commit 0b11e9c

Please sign in to comment.