Skip to content

Commit 9fc28c8

Browse files
committed
chore: fix import inside test files
1 parent 21d7963 commit 9fc28c8

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"scripts": {
3-
"compile": "tsc --project .",
4-
"compile:check": "tsc --project . --noEmit",
3+
"compile": "tsc --project ./src",
4+
"compile:check": "yarn compile --noEmit",
55
"test": "jest",
66
"test:watch": "jest --watch",
77
"start": "node dist/index.js",

src/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "../tsconfig.json"
3+
}

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,5 @@
6363
/* Advanced Options */
6464
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
6565
},
66-
"exclude": ["dist/*", "test/*"]
66+
"exclude": ["dist/*"]
6767
}

0 commit comments

Comments
 (0)