Package-level declarations

Functions

Link copied to clipboard
external fun setDefaultSnapshotSerializers(serializers: ERROR CLASS: Symbol not found for ReadonlyArray<kotlin/Function1<@R|kotlin/ParameterName|(name = String(value)) kotlin/Any?, kotlin/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.