-
-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support RegExp v
flag
#2195
Support RegExp v
flag
#2195
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
@novemberborn Sorry for bothering you. As you can see test is failing in this PR. We use a old version of ava eslint-plugin-unicorn/package.json Line 71 in 1629ebe
eslint-plugin-unicorn/.github/workflows/main.yml Lines 40 to 45 in 1629ebe
It works well until this PR. I already regenerate snapshots locally, but it still changes on CI. Maybe you known what possibly go wrong? |
Looks like a test failed, it didn’t get to the diffing of the snapshots. And only in Node 20. Wouldn’t that be a real bug?
That sounds like what AVA checks for in CI, what am I missing? Is this to handle differences between Node versions? |
You are right.. I thought that's the "lint-test" job, which does the snapshot diff check, but it's not, really sorry.
Run test on Node.js v20 locally, tests all passed. |
Should be something wrong here eslint-plugin-unicorn/rules/prefer-regexp-test.js Lines 79 to 92 in 1629ebe
I'll try to fix it later. |
@novemberborn You are right, there is a bug indeed, thanks for your help. |
No description provided.