diff --git a/package.json b/package.json index 57361b6a..bb389194 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "release": "release-it --only-version", "test": "tsx --tsconfig tests/tsconfig.json tests/run.ts", "test:build": "npm run build && tstyche build", + "test:unit": "tsx --test src/**/*.test.ts", "prepare": "husky" }, "prettier": "@studion/prettier-config", diff --git a/src/tsconfig.json b/src/tsconfig.json index e00cd137..99c7f030 100644 --- a/src/tsconfig.json +++ b/src/tsconfig.json @@ -2,6 +2,7 @@ "extends": "../tsconfig.options.json", "files": [], "include": ["**/*"], + "exclude": ["**/*.test.ts"], "references": [], "compilerOptions": { "rootDir": ".",