Skip to content
Myr

Fixed tests snapshots

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

authored by Ori Livni · committed by Ori Livni · parent e113ff0 · Browse files · 1 file+2 added−2 removed
This commit

State

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

Diff stats

1 file+2 added−2 removed

  • tests:+2 added−2 removed

1 file+2 added−2 removed

modified:__tests__/__snapshots__/manual.js.snap+2 added-2 removed
48 unmodified lines
49 ],50]51`;5253exports[`manual - proxy cannot modify after finish 1`] = `"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? {\\"a\\":2}"`;53exports[`manual - proxy cannot modify after finish 1`] = `"Cannot perform 'set' on a proxy that has been revoked"`;5455exports[`manual - proxy should check arguments 1`] = `"First argument to \`createDraft\` must be a plain object, an array, or an immerable object"`;5657exports[`manual - proxy should check arguments 2`] = `"First argument to \`createDraft\` must be a plain object, an array, or an immerable object"`;
1 unmodified line
59exports[`manual - proxy should check arguments 3`] = `"First argument to \`finishDraft\` must be a draft returned by \`createDraft\`"`;6061exports[`manual - proxy should not finish drafts from produce 1`] = `"First argument to \`finishDraft\` must be a draft returned by \`createDraft\`"`;6263exports[`manual - proxy should not finish twice 1`] = `"The given draft is already finalized"`;63exports[`manual - proxy should not finish twice 1`] = `"Cannot perform 'get' on a proxy that has been revoked"`;6465exports[`manual - proxy should support patches drafts 1`] = `66Array [67 Array [
34 unmodified lines