vitest-dev / eslint-plugin-vitest

eslint plugin for vitest
MIT License
325 stars 44 forks source link

False positive: Expect has unknown modifier (vitest/valid-expect) #507

Open alexkiro opened 2 months ago

alexkiro commented 2 months ago

It seems this is wrongly marked as incorect:

  expect("foo bar").to.include("foo");

The rule is incorrectly triggered, as this is in fact valid :

  6:3   error  Expect has unknown modifier                 vitest/valid-expect