Skip to main content

namespace snapshot

Functions #

f
snapshot.setDefaultSnapshotSerializers

This function is used to customize the default serialization mechanism used by the test runner.

    f
    snapshot.setResolveSnapshotPath

    This function is used to set a custom resolver for the location of the snapshot file used for snapshot testing. By default, the snapshot filename is the same as the entry point filename with .snapshot appended.

      Did you find what you needed?

      Privacy policy