Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
178 changes: 89 additions & 89 deletions __tests__/__prod_snapshots__/base.js.snap

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions __tests__/__prod_snapshots__/curry.js.snap
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`curry - proxy should check arguments 1`] = `"[Immer] minified error nr: 6. Full error at: https://bit.ly/3cXEKWf"`;
exports[`curry - proxy > should check arguments 1`] = `[Error: [Immer] minified error nr: 6. Full error at: https://bit.ly/3cXEKWf]`;

exports[`curry - proxy should check arguments 2`] = `"[Immer] minified error nr: 6. Full error at: https://bit.ly/3cXEKWf"`;
exports[`curry - proxy > should check arguments 2`] = `[Error: [Immer] minified error nr: 6. Full error at: https://bit.ly/3cXEKWf]`;

exports[`curry - proxy should check arguments 3`] = `"[Immer] minified error nr: 6. Full error at: https://bit.ly/3cXEKWf"`;
exports[`curry - proxy > should check arguments 3`] = `[Error: [Immer] minified error nr: 6. Full error at: https://bit.ly/3cXEKWf]`;

exports[`curry - proxy should check arguments 4`] = `"[Immer] minified error nr: 7. Full error at: https://bit.ly/3cXEKWf"`;
exports[`curry - proxy > should check arguments 4`] = `[Error: [Immer] minified error nr: 7. Full error at: https://bit.ly/3cXEKWf]`;
14 changes: 7 additions & 7 deletions __tests__/__prod_snapshots__/frozen.js.snap
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`auto freeze - proxy will freeze maps 1`] = `"[Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf"`;
exports[`auto freeze - proxy > will freeze maps 1`] = `[Error: [Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf]`;

exports[`auto freeze - proxy will freeze maps 2`] = `"[Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf"`;
exports[`auto freeze - proxy > will freeze maps 2`] = `[Error: [Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf]`;

exports[`auto freeze - proxy will freeze maps 3`] = `"[Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf"`;
exports[`auto freeze - proxy > will freeze maps 3`] = `[Error: [Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf]`;

exports[`auto freeze - proxy will freeze sets 1`] = `"[Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf"`;
exports[`auto freeze - proxy > will freeze sets 1`] = `[Error: [Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf]`;

exports[`auto freeze - proxy will freeze sets 2`] = `"[Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf"`;
exports[`auto freeze - proxy > will freeze sets 2`] = `[Error: [Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf]`;

exports[`auto freeze - proxy will freeze sets 3`] = `"[Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf"`;
exports[`auto freeze - proxy > will freeze sets 3`] = `[Error: [Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf]`;
14 changes: 7 additions & 7 deletions __tests__/__prod_snapshots__/manual.js.snap
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`manual - proxy cannot finishDraft twice 1`] = `"Cannot perform 'get' on a proxy that has been revoked"`;
exports[`manual - proxy > cannot finishDraft twice 1`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

exports[`manual - proxy should check arguments 1`] = `"[Immer] minified error nr: 8. Full error at: https://bit.ly/3cXEKWf"`;
exports[`manual - proxy > should check arguments 1`] = `[Error: [Immer] minified error nr: 8. Full error at: https://bit.ly/3cXEKWf]`;

exports[`manual - proxy should check arguments 2`] = `"[Immer] minified error nr: 8. Full error at: https://bit.ly/3cXEKWf"`;
exports[`manual - proxy > should check arguments 2`] = `[Error: [Immer] minified error nr: 8. Full error at: https://bit.ly/3cXEKWf]`;

exports[`manual - proxy should check arguments 3`] = `"[Immer] minified error nr: 9. Full error at: https://bit.ly/3cXEKWf"`;
exports[`manual - proxy > should check arguments 3`] = `[Error: [Immer] minified error nr: 9. Full error at: https://bit.ly/3cXEKWf]`;

exports[`manual - proxy should not finish twice 1`] = `"Cannot perform 'get' on a proxy that has been revoked"`;
exports[`manual - proxy > should not finish twice 1`] = `[TypeError: Cannot perform 'get' on a proxy that has been revoked]`;

exports[`manual - proxy should support patches drafts 1`] = `
exports[`manual - proxy > should support patches drafts 1`] = `
[
[
[
Expand Down
8 changes: 4 additions & 4 deletions __tests__/__prod_snapshots__/patch.js.snap
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`applyPatches throws when \`op\` is not "add", "replace", nor "remove" 1`] = `"[Immer] minified error nr: 17. Full error at: https://bit.ly/3cXEKWf"`;
exports[`applyPatches > throws when \`op\` is not "add", "replace", nor "remove" 1`] = `[Error: [Immer] minified error nr: 17. Full error at: https://bit.ly/3cXEKWf]`;

exports[`applyPatches throws when \`path\` cannot be resolved 1`] = `"[Immer] minified error nr: 18. Full error at: https://bit.ly/3cXEKWf"`;
exports[`applyPatches > throws when \`path\` cannot be resolved 1`] = `[Error: [Immer] minified error nr: 18. Full error at: https://bit.ly/3cXEKWf]`;

exports[`applyPatches throws when \`path\` cannot be resolved 2`] = `"[Immer] minified error nr: 18. Full error at: https://bit.ly/3cXEKWf"`;
exports[`applyPatches > throws when \`path\` cannot be resolved 2`] = `[Error: [Immer] minified error nr: 18. Full error at: https://bit.ly/3cXEKWf]`;
10 changes: 5 additions & 5 deletions __tests__/__prod_snapshots__/plugins.js.snap
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`error when using Maps 1`] = `"[Immer] minified error nr: 0. Full error at: https://bit.ly/3cXEKWf"`;
exports[`error when using Maps 1`] = `[Error: [Immer] minified error nr: 0. Full error at: https://bit.ly/3cXEKWf]`;

exports[`error when using patches - 1 1`] = `"[Immer] minified error nr: 0. Full error at: https://bit.ly/3cXEKWf"`;
exports[`error when using patches - 1 1`] = `[Error: [Immer] minified error nr: 0. Full error at: https://bit.ly/3cXEKWf]`;

exports[`error when using patches - 2 1`] = `"[Immer] minified error nr: 0. Full error at: https://bit.ly/3cXEKWf"`;
exports[`error when using patches - 2 1`] = `[Error: [Immer] minified error nr: 0. Full error at: https://bit.ly/3cXEKWf]`;

exports[`error when using patches - 3 1`] = `"[Immer] minified error nr: 0. Full error at: https://bit.ly/3cXEKWf"`;
exports[`error when using patches - 3 1`] = `[Error: [Immer] minified error nr: 0. Full error at: https://bit.ly/3cXEKWf]`;
4 changes: 2 additions & 2 deletions __tests__/__prod_snapshots__/readme.js.snap
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`Producers can update Maps 4`] = `"[Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf"`;
exports[`Producers can update Maps 4`] = `[Error: [Immer] minified error nr: 2. Full error at: https://bit.ly/3cXEKWf]`;
Loading
Loading