-
Notifications
You must be signed in to change notification settings - Fork 14
Error from prettier, when test start #185
Comments
Hey @IvanSavoskin 👋 Thanks for opening this bug. I'm not able to reproduce what you have reported above. Have you tried testing on a dummy test? Something simple like: test('Expect to pass', () => {
expect(1 + 2).toBe(3);
}); This would help us narrow down the issue. Any additional implementation details such as package version, jest config setup, and tests would be helpful too. 😄 |
@ryparker I am facing the exactly same problem, reported from many unexpected places.
E.g.:
UPDATE: |
I guess, the issue around @ts-expect-error is the regex here - https://github.com/ryparker/jest-circus-allure-environment/blob/main/src/allure-reporter.ts#L319 , where it should actually check for word boundary with a |
@ryparker any ETA to fix it or @rodush/ @IvanSavoskin maybe you have some workaround |
Describe the bug
When starting the test, the following error occurs
To Reproduce
Code test
This is test ts file
The text was updated successfully, but these errors were encountered: