8000 Error from prettier, when test start · Issue #185 · ryparker/jest-circus-allure-environment · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
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.
Error from prettier, when test start #185
Open
@IvanSavoskin

Description

@IvanSavoskin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0