当我们的测试有语法错误时,我们会得到类似的结果:
WARNING in ./tests/components/RequesterInfo/RequsterInfo.spec.js
Module build failed: SyntaxError: /Volumes/dev/VisualforceCore/tests/components/RequesterInfo/RequsterInfo.spec.js: Unexpected token, expected , (34:39)
32 | TimeZoneSidKey: 'America/Indiana/Indianapolis',
33 | Title: 'CTO',
> 34 | SatisfactionLevel__c: value: 'Low',
| ^
35 | }
36 | fieldSet: {
37 | LanguageLocaleKey: { label: 'Language' },
我们经常会错过这个错误,因为它会在所有输出中被吞没 我可以在语法错误上使业力失败吗?