Skip to content

refactor: mark no-unneeded-async-expect-function as vitest compatible#343

Closed
baevm wants to merge 1 commit intooxc-project:mainfrom
baevm:refactor/vitest-no_unneeded_async_expect
Closed

refactor: mark no-unneeded-async-expect-function as vitest compatible#343
baevm wants to merge 1 commit intooxc-project:mainfrom
baevm:refactor/vitest-no_unneeded_async_expect

Conversation

@baevm
Copy link
Copy Markdown

@baevm baevm commented Jan 22, 2026

this PR marks no-unneeded-async-expect-function as vitest compatible for this PR oxc-project/oxc#18397

@connorshea
Copy link
Copy Markdown
Member

With #344, this is synced automatically now. So this change will happen automatically once the rule list is updated in the oxc repo.

Thanks!

@connorshea connorshea closed this Jan 26, 2026
camchenry pushed a commit to oxc-project/oxc that referenced this pull request Jan 30, 2026
…m vitest to jest (#18397)

this PR moves `no-unneeded-async-expect-function` from vitest to jest
plugin and marks it as vitest compatible so it can be used with both the
jest and vitest plugins, as discussed
[here](#492 (comment))

not sure should i copy all tests from jest, only difference in tests
between vitest and jest is this test:
```
import { expect as pleaseExpect } from 'vitest';
			    it('pass', async () => {
			      await pleaseExpect(doSomethingAsync()).rejects.toThrow();
			    })
```

PR to oxlint-migrate:
oxc-project/oxlint-migrate#343
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants