Skip to main content Link Search Menu Expand Document (external link)

Vitest overview

Added in v1.0.0


Table of contents


utils

describe

Signature

export declare const describe: any

Added in v1.0.0

expect

Signature

export declare const expect: vitest.ExpectStatic

Added in v1.0.0

it

Signature

export declare function it<E, A>(
  name: string,
  test: () => Effect.Effect<A, E, Scope | RenderQueue.RenderQueue>,
  options?: vitest.TestOptions
)

Added in v1.0.0

test

Signature

export declare function test<E, A>(
  name: string,
  test: (options: {
    readonly clock: TestClock.TestClock
  }) => Effect.Effect<A, E, Scope | RenderQueue.RenderQueue | TestServices.TestServices>,
  options?: vitest.TestOptions
)

Added in v1.0.0