Skip to content

Commit 021f7e5

Browse files
committedOct 24, 2018
Don't auto exclude test files
1 parent b50590f commit 021f7e5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed
 

‎packages/react-scripts/scripts/utils/verifyTypeScriptSetup.js

-4
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,6 @@ function verifyTypeScriptSetup() {
210210
`${chalk.cyan('include')} should be ${chalk.cyan.bold('src')}`
211211
);
212212
}
213-
if (parsedTsConfig.exclude == null) {
214-
appTsConfig.exclude = ['**/__tests__/**', '**/?*test.*', '**/?*spec.*'];
215-
messages.push(`${chalk.cyan('exclude')} should exclude test files`);
216-
}
217213

218214
if (messages.length > 0) {
219215
if (firstTimeSetup) {

0 commit comments

Comments
 (0)
Please sign in to comment.