Skip to content

Replace mocha snapshots with modern solution #3107

Description

@bashmish

node:test has --experimental-test-snapshots (landed in Node 22.3). It writes .snapshot files and supports assert.snapshot(). That's one option.

Originally posted by @bennypowers in #3086 (comment)

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