当我们的测试出现语法错误时,我们会得到如下信息:
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' },
我们经常错过这个错误,因为它被所有输出吞没了我可以让业力因语法错误而失败吗?