Skip to content

Commit 98abee7

Browse files
committed
fix(plugin-typescript): exclude test files from standalone analysis
1 parent c131719 commit 98abee7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

code-pushup.preset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export async function configureJsPackagesPlugin(): Promise<CoreConfig> {
158158
export function configureTypescriptPlugin(projectName?: string): CoreConfig {
159159
const tsconfig = projectName
160160
? `packages/${projectName}/tsconfig.lib.json`
161-
: 'tsconfig.base.json';
161+
: 'tsconfig.code-pushup.json';
162162
return {
163163
plugins: [typescriptPlugin({ tsconfig })],
164164
categories: getCategories(),

tsconfig.code-pushup.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extends": "./tsconfig.base.json",
3+
"exclude": ["node_modules", "tmp", "**/*.test.ts"]
4+
}

0 commit comments

Comments
 (0)