Skip to content
Myr

Fixed debug setup

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Michel Weststrate · committed by Michel Weststrate · parent e34a548 · Browse files · 3 files+3 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+3 added−5 removed

  • tests:+0 added−2 removed
  • other:+3 added−3 removed

3 files+3 added−5 removed

modified:__tests__/base.js-2 removed
417 unmodified lines
418419 if (useProxies === true) {420 it("should not be possible to set property descriptors", () => {421 expect(() => {422 debugger422 produce({}, draft => {423 Object.defineProperty(draft, "xx", {424 enumerable: true,425 writeable: true,
58 unmodified lines
484 expect(result.newArr[0]).toBe(base.arr[2])485 })486487 it("should not throw error, see #53 - 4", () => {489 debugger488 const base = {bear: {age: 10}}489 const result = produce(base, draft => {490 draft.bear.legs = 4491 draft.room = {elephant: {kiddo: draft.bear}}
111 unmodified lines
modified:.vscode/launch.json+2 added-2 removed
modified:package.json+1 added-1 removed