UNPKG

json-joy

Version:

Collection of libraries for building collaborative editing apps.

19 lines (18 loc) 500 B
import type { Operation } from '../../json-patch'; export interface TestCase { comment: string; doc: unknown; patch: Operation[]; expected?: unknown; error?: string; disabled?: boolean; only?: boolean; /** Whether to skip this operation in `json-ot` tests. */ skipInJsonOt?: boolean; } export interface TestSuite { name: string; tests: TestCase[]; /** Whether the test suite tests the JSON Patch core specification. */ isJsonPatchSpec?: boolean; }