Interface SnapshotFile

Description

On-disk snapshot file format.

interface SnapshotFile {
    calls: Record<string, SnapshotCall>;
    className: string;
    strings?: Record<string, string>;
    version: 1;
}

Properties

calls: Record<string, SnapshotCall>

Description

Map of callKey → recorded entry.

className: string

Description

Name of the mocked class.

strings?: Record<string, string>

Description

Pooled strings referenced by SerializedPooledString entries. Only present when at least one large string was deduplicated.

version: 1

Description

Format version (currently 1).