Function Requirement for Vitest Helpers in Test Cases

Any reason why the vitests helpers require the test case to be a function returning an effect, instead of also just accepting just an Effect. For examples, instead of:
  it(
    'my test case',
    () => Effect.gen(function*() {}),
  )


I'd like to be able to do:

  it(
    'my test case',
    Effect.gen(function*() {}),
  )
Was this page helpful?