mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-05-17 19:52:15 +08:00
Don't auto exclude test files
This commit is contained in:
@@ -210,10 +210,6 @@ function verifyTypeScriptSetup() {
|
||||
`${chalk.cyan('include')} should be ${chalk.cyan.bold('src')}`
|
||||
);
|
||||
}
|
||||
if (parsedTsConfig.exclude == null) {
|
||||
appTsConfig.exclude = ['**/__tests__/**', '**/?*test.*', '**/?*spec.*'];
|
||||
messages.push(`${chalk.cyan('exclude')} should exclude test files`);
|
||||
}
|
||||
|
||||
if (messages.length > 0) {
|
||||
if (firstTimeSetup) {
|
||||
|
||||
Reference in New Issue
Block a user