Skip to content

@effect/vitest: it.describe.each is not a function #6348

Closed

Description

@duckception

What version of Effect is running?

4.0.0-beta.70

What steps can reproduce the bug?

import { assert, it } from "@effect/vitest"
import { Effect } from "effect"

it.describe("it.describe.each reproduction", () => {
  it.describe.each(["foo", "bar"] as const)("%s", (text) => {
    it.effect("runs an Effect test", () =>
      Effect.sync(() => {
        assert.include(["foo", "bar"], text)
      }))
  })
})

What is the expected behavior?

Code above should result in successful test run.

What do you see instead?

TypeError: it.describe.each is not a function

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    4.0bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions