© 2026 Hedgehog Software, LLC
@vitest/effect
expect(..).toMatchInlineSnapshot()
TypeError: Cannot read properties of undefined (reading 'environment')
import * as vi from "vitest" vi.it("test", (cx) => Effect.gen(function* () { cx.expect(1).toMatchInlineSnapshot(`1`); }).pipe(Effect.runPromise), );
import {it} from "@effect/vitest"; it.effect("test", (cx) => Effect.gen(function* () { cx.expect(1).toMatchInlineSnapshot(); }), );
TypeError: Cannot read properties of undefined (reading 'match')