我在CRA项目中制作了测试文件。如果我运行生产版本,会自动忽略测试文件吗?
这是我的项目结构。
> src
> page
> franchise
> franchise.js
> franchise.test.js
package.json
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},