Skip to content

AssertSnapshotOptions

[<Interface>]
type AssertSnapshotOptions =
    abstract member serializers: (obj -> obj) array option with get, set
    static member Create (?serializers: (obj -> obj) array) : AssertSnapshotOptions
AssemblyXantham.Fable.Node
Attributes[<Interface>]

Properties

abstract member serializers: (obj -> obj) array option with get, set

An array of synchronous functions used to serialize value into a string. value is passed as the only argument to the first serializer function. The return value of each serializer is passed as input to the next serializer. Once all serializers have run, the resulting value is coerced to a string.

If no serializers are provided, the test runner's default serializers are used.

Methods

static member Create (?serializers: (obj -> obj) array) : AssertSnapshotOptions