Skip to content

Use native Deno testing instead of Vitest #242

@0x009922

Description

@0x009922

Vitest is slow with Deno. While @deno/vite-plugin may become faster with time (denoland/deno-vite-plugin#55), there is seemingly a low cost of just shifting to @std/testing and @std/expect.

Issues:

  • Absence of inline snapshots
  • onTestFinished() hook in Vitest is useful for usePeer() helper. Maybe Deno test context can provide similar functionality.

Steps:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions