This repository was archived by the owner on Aug 28, 2022. It is now read-only.
This repository was archived by the owner on Aug 28, 2022. It is now read-only.
Open
Description
Describe the bug
When starting the test, the following error occurs
Test suite failed to run
SyntaxError: Identifier expected. (1:10)
> 1 | function () {
| ^
2 | return _ref4.apply(this, arguments);
3 | }
at e (node_modules/prettier/parser-typescript.js:1:322)
at node_modules/prettier/parser-typescript.js:1:3179371
at Object.parse (node_modules/prettier/parser-typescript.js:1:3179404)
at Object.parse (node_modules/prettier/standalone.js:15:105894)
at jp (node_modules/prettier/standalone.js:15:129009)
at Vp (node_modules/prettier/standalone.js:15:131628)
at node_modules/prettier/standalone.js:55:38189
at Object.format (node_modules/prettier/standalone.js:55:38272)
at AllureReporter.extractCodeDetails (node_modules/jest-circus-allure-environment/src/allure-reporter.ts:320:19)
at AllureReporter.startTestCase (node_modules/jest-circus-allure-environment/src/allure-reporter.ts:166:43)
To Reproduce
Code test
it("Editor helper test", async () => {
await editorHelpersTest(mockFunctionsList);
});
This is test ts file