UNPKG

@as-pect/snapshots

Version:

A package for dealing with snapshots

16 lines (13 loc) 312 B
import { Change } from "diff"; export const enum SnapshotDiffResultType { NoChange, Added, Removed, Different, } export class SnapshotDiffResult { type: SnapshotDiffResultType = SnapshotDiffResultType.NoChange; left: string | null = null; right: string | null = null; changes: Change[] = []; }