Skip to content

Commit

Permalink
Properly exclude test files from typechecking
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Oct 22, 2018
1 parent 6b010b0 commit 7231285
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function verifyTypeScriptSetup() {
);
}
if (tsconfig.exclude == null) {
tsconfig.exclude = ['**/__tests__/**', '**/?*(spec|test).*'];
tsconfig.exclude = ['**/__tests__/**', '**/?*test.*', '**/?*spec.*'];
messages.push(`${chalk.cyan('exclude')} should exclude test files`);
}

Expand Down

0 comments on commit 7231285

Please sign in to comment.