Skip to content
Myr

base.js.snap

This file

Path

__tests__/__snapshots__/base.js.snap

748 lines · 41.9 KiB

Last changed by

feat: Override array methods to avoid proxy creation while iterating and updating (#1184)Mark Eriksonbefore adoptiond38a9d0

History of this file

Take it

The walk stopped after 200 commits: lines older than 07f5cc9 point at it.

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 1why, one step back
1// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 2why, one step back
2

feat: Override array methods to avoid proxy creation while iterating and updating (#1184)Mark Eriksonbefore adoptiond38a9d0

lines 3–38why, one step back
3exports[`base functionality - array-plugin=true:auto-freeze=true:shallow-copy=false:use-listener=false > array drafts > throws when a non-numeric property is added 1`] = `[Error: [Immer] Immer only supports setting array indices and the 'length' property]`;
45exports[`base functionality - array-plugin=true:auto-freeze=true:shallow-copy=false:use-listener=false > array drafts > throws when a non-numeric property is deleted 1`] = `[Error: [Immer] Immer only supports deleting array indices]`;67exports[`base functionality - array-plugin=true:auto-freeze=true:shallow-copy=false:use-listener=false > map drafts > revokes map proxies 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;89exports[`base functionality - array-plugin=true:auto-freeze=true:shallow-copy=false:use-listener=false > map drafts > revokes map proxies 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;1011exports[`base functionality - array-plugin=true:auto-freeze=true:shallow-copy=false:use-listener=false > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;1213exports[`base functionality - array-plugin=true:auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 1`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;1415exports[`base functionality - array-plugin=true:auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 2`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;1617exports[`base functionality - array-plugin=true:auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 3`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;1819exports[`base functionality - array-plugin=true:auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 4`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;2021exports[`base functionality - array-plugin=true:auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 5`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;2223exports[`base functionality - array-plugin=true:auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 6`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;2425exports[`base functionality - array-plugin=true:auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 7`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;2627exports[`base functionality - array-plugin=true:auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 8`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;2829exports[`base functionality - array-plugin=true:auto-freeze=true:shallow-copy=false:use-listener=false > set drafts > revokes sets 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;3031exports[`base functionality - array-plugin=true:auto-freeze=true:shallow-copy=false:use-listener=false > set drafts > revokes sets 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;3233exports[`base functionality - array-plugin=true:auto-freeze=true:shallow-copy=false:use-listener=false > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] Object.defineProperty() cannot be used on an Immer draft]`;3435exports[`base functionality - array-plugin=true:auto-freeze=true:shallow-copy=false:use-listener=false > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] Object.setPrototypeOf() cannot be used on an Immer draft]`;3637exports[`base functionality - array-plugin=true:auto-freeze=true:shallow-copy=false:use-listener=false > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;38

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 39why, one step back
39exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > array drafts > throws when a non-numeric property is added 1`] = `[Error: [Immer] Immer only supports setting array indices and the 'length' property]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 40why, one step back
40

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 41why, one step back
41exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > array drafts > throws when a non-numeric property is deleted 1`] = `[Error: [Immer] Immer only supports deleting array indices]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 42why, one step back
42

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 43why, one step back
43exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > map drafts > revokes map proxies 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 44why, one step back
44

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 45why, one step back
45exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > map drafts > revokes map proxies 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 46why, one step back
46

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 47why, one step back
47exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 48why, one step back
48

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 49why, one step back
49exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > revokes the draft once produce returns 1`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 50why, one step back
50

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 51why, one step back
51exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > revokes the draft once produce returns 2`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 52why, one step back
52

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 53why, one step back
53exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > revokes the draft once produce returns 3`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 54why, one step back
54

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 55why, one step back
55exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > revokes the draft once produce returns 4`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 56why, one step back
56

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 57why, one step back
57exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > revokes the draft once produce returns 5`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 58why, one step back
58

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 59why, one step back
59exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > revokes the draft once produce returns 6`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 60why, one step back
60

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 61why, one step back
61exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > revokes the draft once produce returns 7`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 62why, one step back
62

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 63why, one step back
63exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > revokes the draft once produce returns 8`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 64why, one step back
64

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 65why, one step back
65exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > set drafts > revokes sets 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 66why, one step back
66

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 67why, one step back
67exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > set drafts > revokes sets 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 68why, one step back
68

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 69why, one step back
69exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] Object.defineProperty() cannot be used on an Immer draft]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 70why, one step back
70

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 71why, one step back
71exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] Object.setPrototypeOf() cannot be used on an Immer draft]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 72why, one step back
72

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 73why, one step back
73exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=false > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 74why, one step back
74

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 75why, one step back
75exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > array drafts > throws when a non-numeric property is added 1`] = `[Error: [Immer] Immer only supports setting array indices and the 'length' property]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 76why, one step back
76

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 77why, one step back
77exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > array drafts > throws when a non-numeric property is deleted 1`] = `[Error: [Immer] Immer only supports deleting array indices]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 78why, one step back
78

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 79why, one step back
79exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > map drafts > revokes map proxies 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 80why, one step back
80

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 81why, one step back
81exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > map drafts > revokes map proxies 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 82why, one step back
82

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 83why, one step back
83exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 84why, one step back
84

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 85why, one step back
85exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > revokes the draft once produce returns 1`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 86why, one step back
86

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 87why, one step back
87exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > revokes the draft once produce returns 2`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 88why, one step back
88

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 89why, one step back
89exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > revokes the draft once produce returns 3`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 90why, one step back
90

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 91why, one step back
91exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > revokes the draft once produce returns 4`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 92why, one step back
92

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 93why, one step back
93exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > revokes the draft once produce returns 5`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 94why, one step back
94

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 95why, one step back
95exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > revokes the draft once produce returns 6`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 96why, one step back
96

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 97why, one step back
97exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > revokes the draft once produce returns 7`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 98why, one step back
98

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 99why, one step back
99exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > revokes the draft once produce returns 8`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 100why, one step back
100

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 101why, one step back
101exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > set drafts > revokes sets 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 102why, one step back
102

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 103why, one step back
103exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > set drafts > revokes sets 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 104why, one step back
104

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 105why, one step back
105exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] Object.defineProperty() cannot be used on an Immer draft]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 106why, one step back
106

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 107why, one step back
107exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] Object.setPrototypeOf() cannot be used on an Immer draft]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 108why, one step back
108

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 109why, one step back
109exports[`base functionality - auto-freeze=false:shallow-copy=false:use-listener=true > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 110why, one step back
110

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 111why, one step back
111exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > array drafts > throws when a non-numeric property is added 1`] = `[Error: [Immer] Immer only supports setting array indices and the 'length' property]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 112why, one step back
112

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 113why, one step back
113exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > array drafts > throws when a non-numeric property is deleted 1`] = `[Error: [Immer] Immer only supports deleting array indices]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 114why, one step back
114

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 115why, one step back
115exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > map drafts > revokes map proxies 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 116why, one step back
116

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 117why, one step back
117exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > map drafts > revokes map proxies 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 118why, one step back
118

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 119why, one step back
119exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 120why, one step back
120

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 121why, one step back
121exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > revokes the draft once produce returns 1`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 122why, one step back
122

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 123why, one step back
123exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > revokes the draft once produce returns 2`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 124why, one step back
124

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 125why, one step back
125exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > revokes the draft once produce returns 3`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 126why, one step back
126

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 127why, one step back
127exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > revokes the draft once produce returns 4`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 128why, one step back
128

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 129why, one step back
129exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > revokes the draft once produce returns 5`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 130why, one step back
130

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 131why, one step back
131exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > revokes the draft once produce returns 6`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 132why, one step back
132

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 133why, one step back
133exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > revokes the draft once produce returns 7`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 134why, one step back
134

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 135why, one step back
135exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > revokes the draft once produce returns 8`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 136why, one step back
136

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 137why, one step back
137exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > set drafts > revokes sets 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 138why, one step back
138

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 139why, one step back
139exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > set drafts > revokes sets 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 140why, one step back
140

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 141why, one step back
141exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] Object.defineProperty() cannot be used on an Immer draft]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 142why, one step back
142

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 143why, one step back
143exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] Object.setPrototypeOf() cannot be used on an Immer draft]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 144why, one step back
144

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 145why, one step back
145exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=false > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 146why, one step back
146

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 147why, one step back
147exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > array drafts > throws when a non-numeric property is added 1`] = `[Error: [Immer] Immer only supports setting array indices and the 'length' property]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 148why, one step back
148

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 149why, one step back
149exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > array drafts > throws when a non-numeric property is deleted 1`] = `[Error: [Immer] Immer only supports deleting array indices]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 150why, one step back
150

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 151why, one step back
151exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > map drafts > revokes map proxies 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 152why, one step back
152

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 153why, one step back
153exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > map drafts > revokes map proxies 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 154why, one step back
154

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 155why, one step back
155exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 156why, one step back
156

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 157why, one step back
157exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > revokes the draft once produce returns 1`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 158why, one step back
158

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 159why, one step back
159exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > revokes the draft once produce returns 2`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 160why, one step back
160

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 161why, one step back
161exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > revokes the draft once produce returns 3`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 162why, one step back
162

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 163why, one step back
163exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > revokes the draft once produce returns 4`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 164why, one step back
164

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 165why, one step back
165exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > revokes the draft once produce returns 5`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 166why, one step back
166

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 167why, one step back
167exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > revokes the draft once produce returns 6`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 168why, one step back
168

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 169why, one step back
169exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > revokes the draft once produce returns 7`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 170why, one step back
170

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 171why, one step back
171exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > revokes the draft once produce returns 8`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 172why, one step back
172

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 173why, one step back
173exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > set drafts > revokes sets 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 174why, one step back
174

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 175why, one step back
175exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > set drafts > revokes sets 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 176why, one step back
176

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 177why, one step back
177exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] Object.defineProperty() cannot be used on an Immer draft]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 178why, one step back
178

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 179why, one step back
179exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] Object.setPrototypeOf() cannot be used on an Immer draft]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 180why, one step back
180

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 181why, one step back
181exports[`base functionality - auto-freeze=false:shallow-copy=true:use-listener=true > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 182why, one step back
182

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 183why, one step back
183exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > array drafts > throws when a non-numeric property is added 1`] = `[Error: [Immer] Immer only supports setting array indices and the 'length' property]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 184why, one step back
184

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 185why, one step back
185exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > array drafts > throws when a non-numeric property is deleted 1`] = `[Error: [Immer] Immer only supports deleting array indices]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 186why, one step back
186

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 187why, one step back
187exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > map drafts > revokes map proxies 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 188why, one step back
188

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 189why, one step back
189exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > map drafts > revokes map proxies 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 190why, one step back
190

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 191why, one step back
191exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 192why, one step back
192

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 193why, one step back
193exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 1`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 194why, one step back
194

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 195why, one step back
195exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 2`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 196why, one step back
196

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 197why, one step back
197exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 3`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 198why, one step back
198

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 199why, one step back
199exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 4`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 200why, one step back
200

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 201why, one step back
201exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 5`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 202why, one step back
202

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 203why, one step back
203exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 6`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 204why, one step back
204

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 205why, one step back
205exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 7`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 206why, one step back
206

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 207why, one step back
207exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > revokes the draft once produce returns 8`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 208why, one step back
208

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 209why, one step back
209exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > set drafts > revokes sets 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 210why, one step back
210

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 211why, one step back
211exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > set drafts > revokes sets 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 212why, one step back
212

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 213why, one step back
213exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] Object.defineProperty() cannot be used on an Immer draft]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 214why, one step back
214

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 215why, one step back
215exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] Object.setPrototypeOf() cannot be used on an Immer draft]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 216why, one step back
216

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 217why, one step back
217exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=false > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 218why, one step back
218

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 219why, one step back
219exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > array drafts > throws when a non-numeric property is added 1`] = `[Error: [Immer] Immer only supports setting array indices and the 'length' property]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 220why, one step back
220

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 221why, one step back
221exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > array drafts > throws when a non-numeric property is deleted 1`] = `[Error: [Immer] Immer only supports deleting array indices]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 222why, one step back
222

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 223why, one step back
223exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > map drafts > revokes map proxies 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 224why, one step back
224

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 225why, one step back
225exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > map drafts > revokes map proxies 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 226why, one step back
226

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 227why, one step back
227exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 228why, one step back
228

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 229why, one step back
229exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > revokes the draft once produce returns 1`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 230why, one step back
230

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 231why, one step back
231exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > revokes the draft once produce returns 2`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 232why, one step back
232

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 233why, one step back
233exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > revokes the draft once produce returns 3`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 234why, one step back
234

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 235why, one step back
235exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > revokes the draft once produce returns 4`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 236why, one step back
236

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 237why, one step back
237exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > revokes the draft once produce returns 5`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 238why, one step back
238

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 239why, one step back
239exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > revokes the draft once produce returns 6`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 240why, one step back
240

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 241why, one step back
241exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > revokes the draft once produce returns 7`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 242why, one step back
242

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 243why, one step back
243exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > revokes the draft once produce returns 8`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 244why, one step back
244

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 245why, one step back
245exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > set drafts > revokes sets 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 246why, one step back
246

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 247why, one step back
247exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > set drafts > revokes sets 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 248why, one step back
248

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 249why, one step back
249exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] Object.defineProperty() cannot be used on an Immer draft]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 250why, one step back
250

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 251why, one step back
251exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] Object.setPrototypeOf() cannot be used on an Immer draft]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 252why, one step back
252

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 253why, one step back
253exports[`base functionality - auto-freeze=true:shallow-copy=false:use-listener=true > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 254why, one step back
254

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 255why, one step back
255exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > array drafts > throws when a non-numeric property is added 1`] = `[Error: [Immer] Immer only supports setting array indices and the 'length' property]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 256why, one step back
256

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 257why, one step back
257exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > array drafts > throws when a non-numeric property is deleted 1`] = `[Error: [Immer] Immer only supports deleting array indices]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 258why, one step back
258

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 259why, one step back
259exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > map drafts > revokes map proxies 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 260why, one step back
260

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 261why, one step back
261exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > map drafts > revokes map proxies 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 262why, one step back
262

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 263why, one step back
263exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 264why, one step back
264

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 265why, one step back
265exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > revokes the draft once produce returns 1`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 266why, one step back
266

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 267why, one step back
267exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > revokes the draft once produce returns 2`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 268why, one step back
268

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 269why, one step back
269exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > revokes the draft once produce returns 3`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 270why, one step back
270

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 271why, one step back
271exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > revokes the draft once produce returns 4`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 272why, one step back
272

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 273why, one step back
273exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > revokes the draft once produce returns 5`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 274why, one step back
274

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 275why, one step back
275exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > revokes the draft once produce returns 6`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 276why, one step back
276

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 277why, one step back
277exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > revokes the draft once produce returns 7`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 278why, one step back
278

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 279why, one step back
279exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > revokes the draft once produce returns 8`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 280why, one step back
280

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 281why, one step back
281exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > set drafts > revokes sets 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 282why, one step back
282

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 283why, one step back
283exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > set drafts > revokes sets 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 284why, one step back
284

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 285why, one step back
285exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] Object.defineProperty() cannot be used on an Immer draft]`;

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 286why, one step back
286

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 287why, one step back
287exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] Object.setPrototypeOf() cannot be used on an Immer draft]`;

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 288why, one step back
288

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 289why, one step back
289exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=false > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 290why, one step back
290

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 291why, one step back
291exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > array drafts > throws when a non-numeric property is added 1`] = `[Error: [Immer] Immer only supports setting array indices and the 'length' property]`;

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 292why, one step back
292

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 293why, one step back
293exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > array drafts > throws when a non-numeric property is deleted 1`] = `[Error: [Immer] Immer only supports deleting array indices]`;

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 294why, one step back
294

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 295why, one step back
295exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > map drafts > revokes map proxies 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 296why, one step back
296

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 297why, one step back
297exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > map drafts > revokes map proxies 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 298why, one step back
298

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 299why, one step back
299exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > recipe functions > cannot return a modified child draft 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 300why, one step back
300

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 301why, one step back
301exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > revokes the draft once produce returns 1`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 302why, one step back
302

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 303why, one step back
303exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > revokes the draft once produce returns 2`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 304why, one step back
304

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 305why, one step back
305exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > revokes the draft once produce returns 3`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 306why, one step back
306

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 307why, one step back
307exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > revokes the draft once produce returns 4`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 308why, one step back
308

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 309why, one step back
309exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > revokes the draft once produce returns 5`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 310why, one step back
310

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 311why, one step back
311exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > revokes the draft once produce returns 6`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 312why, one step back
312

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 313why, one step back
313exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > revokes the draft once produce returns 7`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 314why, one step back
314

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 315why, one step back
315exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > revokes the draft once produce returns 8`] = `[TypeError: Cannot perform 'set' on a proxy that has been revoked]`;

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 316why, one step back
316

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 317why, one step back
317exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > set drafts > revokes sets 1`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 318why, one step back
318

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 319why, one step back
319exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > set drafts > revokes sets 2`] = `[Error: [Immer] Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {}]`;

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 320why, one step back
320

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 321why, one step back
321exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > throws when Object.defineProperty() is used on drafts 1`] = `[Error: [Immer] Object.defineProperty() cannot be used on an Immer draft]`;

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 322why, one step back
322

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 323why, one step back
323exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > throws when Object.setPrototypeOf() is used on a draft 1`] = `[Error: [Immer] Object.setPrototypeOf() cannot be used on an Immer draft]`;

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 324why, one step back
324

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 325why, one step back
325exports[`base functionality - auto-freeze=true:shallow-copy=true:use-listener=true > throws when the draft is modified and another object is returned 1`] = `[Error: [Immer] An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.]`;

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 326why, one step back
326

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 327why, one step back
327exports[`complex nesting map / set / object > modify deep object 1`] = `

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 328why, one step back
328{

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 329–330why, one step back
329 "map": Map {
330 "set1" => Set {

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 331why, one step back
331 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 332–333why, one step back
332 "a": 2,
333 },

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 334why, one step back
334 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 335–338why, one step back
335 "b": 2,
336 },337 },338 "set2" => Set {

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 339why, one step back
339 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 340–346why, one step back
340 "c": 3,
341 },342 },343 },344}345`;346

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 347why, one step back
347exports[`complex nesting map / set / object > modify deep object 2`] = `

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

lines 348–349why, one step back
348[
349 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 350why, one step back
350 "op": "remove",

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 351why, one step back
351 "path": [

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 352–355why, one step back
352 "map",
353 "set1",354 0,355 ],

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 356why, one step back
356 "value": {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 357–359why, one step back
357 "a": 1,
358 },359 },

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 360why, one step back
360 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 361why, one step back
361 "op": "add",

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 362why, one step back
362 "path": [

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 363–366why, one step back
363 "map",
364 "set1",365 0,366 ],

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 367why, one step back
367 "value": {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 368–373why, one step back
368 "a": 2,
369 },370 },371]372`;373

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 374why, one step back
374exports[`complex nesting map / set / object > modify deep object 3`] = `

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 375why, one step back
375{

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 376–377why, one step back
376 "map": Map {
377 "set1" => Set {

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 378why, one step back
378 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 379–380why, one step back
379 "a": 2,
380 },

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 381why, one step back
381 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 382–385why, one step back
382 "b": 2,
383 },384 },385 "set2" => Set {

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 386why, one step back
386 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 387–393why, one step back
387 "c": 3,
388 },389 },390 },391}392`;393

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 394why, one step back
394exports[`complex nesting map / set / object > modify deep object 4`] = `

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

lines 395–396why, one step back
395[
396 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 397why, one step back
397 "op": "remove",

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 398why, one step back
398 "path": [

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 399–402why, one step back
399 "map",
400 "set1",401 0,402 ],

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 403why, one step back
403 "value": {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 404–406why, one step back
404 "a": 1,
405 },406 },

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 407why, one step back
407 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 408why, one step back
408 "op": "add",

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 409why, one step back
409 "path": [

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 410–413why, one step back
410 "map",
411 "set1",412 0,413 ],

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 414why, one step back
414 "value": {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 415–420why, one step back
415 "a": 2,
416 },417 },418]419`;420

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 421why, one step back
421exports[`complex nesting map / set / object > modify deep object 5`] = `

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 422why, one step back
422{

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 423–424why, one step back
423 "map": Map {
424 "set1" => Set {

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 425why, one step back
425 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 426–427why, one step back
426 "a": 2,
427 },

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 428why, one step back
428 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 429–432why, one step back
429 "b": 2,
430 },431 },432 "set2" => Set {

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 433why, one step back
433 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 434–440why, one step back
434 "c": 3,
435 },436 },437 },438}439`;440

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 441why, one step back
441exports[`complex nesting map / set / object > modify deep object 6`] = `

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

lines 442–443why, one step back
442[
443 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 444why, one step back
444 "op": "remove",

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 445why, one step back
445 "path": [

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 446–449why, one step back
446 "map",
447 "set1",448 0,449 ],

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 450why, one step back
450 "value": {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 451–453why, one step back
451 "a": 1,
452 },453 },

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 454why, one step back
454 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 455why, one step back
455 "op": "add",

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 456why, one step back
456 "path": [

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 457–460why, one step back
457 "map",
458 "set1",459 0,460 ],

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 461why, one step back
461 "value": {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 462–467why, one step back
462 "a": 2,
463 },464 },465]466`;467

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 468why, one step back
468exports[`complex nesting map / set / object > modify deep object 7`] = `

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 469why, one step back
469{

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 470–471why, one step back
470 "map": Map {
471 "set1" => Set {

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 472why, one step back
472 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 473–474why, one step back
473 "a": 2,
474 },

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 475why, one step back
475 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 476–479why, one step back
476 "b": 2,
477 },478 },479 "set2" => Set {

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 480why, one step back
480 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 481–487why, one step back
481 "c": 3,
482 },483 },484 },485}486`;487

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 488why, one step back
488exports[`complex nesting map / set / object > modify deep object 8`] = `

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

lines 489–490why, one step back
489[
490 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 491why, one step back
491 "op": "remove",

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 492why, one step back
492 "path": [

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 493–496why, one step back
493 "map",
494 "set1",495 0,496 ],

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 497why, one step back
497 "value": {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 498–500why, one step back
498 "a": 1,
499 },500 },

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 501why, one step back
501 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 502why, one step back
502 "op": "add",

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 503why, one step back
503 "path": [

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 504–507why, one step back
504 "map",
505 "set1",506 0,507 ],

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 508why, one step back
508 "value": {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 509–514why, one step back
509 "a": 2,
510 },511 },512]513`;514

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 515why, one step back
515exports[`complex nesting map / set / object > modify deep object 9`] = `

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 516why, one step back
516{

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 517–518why, one step back
517 "map": Map {
518 "set1" => Set {

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 519why, one step back
519 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 520–521why, one step back
520 "a": 2,
521 },

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 522why, one step back
522 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 523–526why, one step back
523 "b": 2,
524 },525 },526 "set2" => Set {

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 527why, one step back
527 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 528–534why, one step back
528 "c": 3,
529 },530 },531 },532}533`;534

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 535why, one step back
535exports[`complex nesting map / set / object > modify deep object 10`] = `

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

lines 536–537why, one step back
536[
537 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 538why, one step back
538 "op": "remove",

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 539why, one step back
539 "path": [

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 540–543why, one step back
540 "map",
541 "set1",542 0,543 ],

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 544why, one step back
544 "value": {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 545–547why, one step back
545 "a": 1,
546 },547 },

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 548why, one step back
548 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 549why, one step back
549 "op": "add",

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 550why, one step back
550 "path": [

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 551–554why, one step back
551 "map",
552 "set1",553 0,554 ],

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 555why, one step back
555 "value": {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 556–561why, one step back
556 "a": 2,
557 },558 },559]560`;561

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 562why, one step back
562exports[`complex nesting map / set / object > modify deep object 11`] = `

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 563why, one step back
563{

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 564–565why, one step back
564 "map": Map {
565 "set1" => Set {

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 566why, one step back
566 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 567–568why, one step back
567 "a": 2,
568 },

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 569why, one step back
569 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 570–573why, one step back
570 "b": 2,
571 },572 },573 "set2" => Set {

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 574why, one step back
574 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 575–581why, one step back
575 "c": 3,
576 },577 },578 },579}580`;581

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 582why, one step back
582exports[`complex nesting map / set / object > modify deep object 12`] = `

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

lines 583–584why, one step back
583[
584 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 585why, one step back
585 "op": "remove",

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 586why, one step back
586 "path": [

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 587–590why, one step back
587 "map",
588 "set1",589 0,590 ],

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 591why, one step back
591 "value": {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 592–594why, one step back
592 "a": 1,
593 },594 },

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 595why, one step back
595 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 596why, one step back
596 "op": "add",

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 597why, one step back
597 "path": [

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 598–601why, one step back
598 "map",
599 "set1",600 0,601 ],

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 602why, one step back
602 "value": {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 603–608why, one step back
603 "a": 2,
604 },605 },606]607`;608

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 609why, one step back
609exports[`complex nesting map / set / object > modify deep object 13`] = `

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 610why, one step back
610{

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 611–612why, one step back
611 "map": Map {
612 "set1" => Set {

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 613why, one step back
613 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 614–615why, one step back
614 "a": 2,
615 },

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 616why, one step back
616 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 617–620why, one step back
617 "b": 2,
618 },619 },620 "set2" => Set {

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 621why, one step back
621 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 622–628why, one step back
622 "c": 3,
623 },624 },625 },626}627`;628

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 629why, one step back
629exports[`complex nesting map / set / object > modify deep object 14`] = `

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

lines 630–631why, one step back
630[
631 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 632why, one step back
632 "op": "remove",

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 633why, one step back
633 "path": [

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 634–637why, one step back
634 "map",
635 "set1",636 0,637 ],

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 638why, one step back
638 "value": {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 639–641why, one step back
639 "a": 1,
640 },641 },

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 642why, one step back
642 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 643why, one step back
643 "op": "add",

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 644why, one step back
644 "path": [

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 645–648why, one step back
645 "map",
646 "set1",647 0,648 ],

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 649why, one step back
649 "value": {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 650–655why, one step back
650 "a": 2,
651 },652 },653]654`;655

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 656why, one step back
656exports[`complex nesting map / set / object > modify deep object 15`] = `

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 657why, one step back
657{

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 658–659why, one step back
658 "map": Map {
659 "set1" => Set {

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 660why, one step back
660 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 661–662why, one step back
661 "a": 2,
662 },

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 663why, one step back
663 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 664–667why, one step back
664 "b": 2,
665 },666 },667 "set2" => Set {

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 668why, one step back
668 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 669–675why, one step back
669 "c": 3,
670 },671 },672 },673}674`;675

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 676why, one step back
676exports[`complex nesting map / set / object > modify deep object 16`] = `

feat: Override array methods to avoid proxy creation while iterating and updating (#1184)Mark Eriksonbefore adoptiond38a9d0

lines 677–723why, one step back
677[
678 {679 "op": "remove",680 "path": [681 "map",682 "set1",683 0,684 ],685 "value": {686 "a": 1,687 },688 },689 {690 "op": "add",691 "path": [692 "map",693 "set1",694 0,695 ],696 "value": {697 "a": 2,698 },699 },700]701`;702703exports[`complex nesting map / set / object > modify deep object 17`] = `704{705 "map": Map {706 "set1" => Set {707 {708 "a": 2,709 },710 {711 "b": 2,712 },713 },714 "set2" => Set {715 {716 "c": 3,717 },718 },719 },720}721`;722723exports[`complex nesting map / set / object > modify deep object 18`] = `

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

lines 724–725why, one step back
724[
725 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 726why, one step back
726 "op": "remove",

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 727why, one step back
727 "path": [

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 728–731why, one step back
728 "map",
729 "set1",730 0,731 ],

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 732why, one step back
732 "value": {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 733–735why, one step back
733 "a": 1,
734 },735 },

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 736why, one step back
736 {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

line 737why, one step back
737 "op": "add",

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 738why, one step back
738 "path": [

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 739–742why, one step back
739 "map",
740 "set1",741 0,742 ],

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 743why, one step back
743 "value": {

chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9

lines 744–748why, one step back
744 "a": 2,
745 },746 },747]748`;