Package-level declarations

Functions

Link copied to clipboard
external fun setDefaultSnapshotSerializers(serializers: ReadonlyArray<(value: Any?) -> Any?>)

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

Link copied to clipboard
external fun setResolveSnapshotPath(fn: (path: String?) -> String)

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.