Jestjs Jest没有忽略.hbs文件
目标:使Jest不在.hbs文件中运行 尝试的解决方案:我尝试在config.json中包含`“testPathIgnorePatterns”:[“.hbs”] 错误:Jestjs Jest没有忽略.hbs文件,jestjs,Jestjs,目标:使Jest不在.hbs文件中运行 尝试的解决方案:我尝试在config.json中包含`“testPathIgnorePatterns”:[“.hbs”] 错误: Test suite failed to run /Users/.../employee.hbs: Unexpected token (1:0) > 1 | <div class="employee"> | ^ 测试套件无法运行 /Users/../employee.hbs:意外令
Test suite failed to run
/Users/.../employee.hbs: Unexpected token (1:0)
> 1 | <div class="employee">
| ^
测试套件无法运行
/Users/../employee.hbs:意外令牌(1:0)
> 1 |
| ^
您尝试过使用此模块吗