empty.ts
This file
Path
__tests__/empty.ts
13 lines · 258 bytes · TypeScript
Last changed by
Merge branch 'master' into map-fixesMichel Weststratebefore adoptioncb63fb0
History of this fileTake it
Merge branch 'master' into map-fixesMichel Weststratebefore adoptioncb63fb0
lines 1–13why, one step back1import {produce, produceWithPatches} from "../src"23test("empty stub test", () => {4 expect(true).toBe(true)5})67test("delete 7", () => {8 debugger9 const [_, p] = produceWithPatches(new Set(["y", 1]), d => {10 d.delete("y")11 })12 expect(p.length).toBe(1)13})