报错信息:TypeError: Class constructor Spec cannot be invoked without 'new'
解决方法:
as a workaround, please try disabling jest.test.tree.use.jasmine.reporter registry key:
- "Help | Find Action..." on the main menu;
- Type "registry" and click "Registry..." found element;
- Find jest.test.tree.use.jasmine.reporter key and disable it.