Skip to content
Myr

Fixed unit test

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

authored by Michel Weststrate · committed by Michel Weststrate · parent 5b8ed13 · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • tests:+1 added−1 removed

1 file+1 added−1 removed

modified:__tests__/base.js+1 added-1 removed
722 unmodified lines
723 if (useProxies)724 it("should not allow changing prototype", () => {725 produce({}, draft => {726 expect(() => Object.setPrototypeOf(draft, Array)).toThrow(727 /try this/727 /does not support `setPrototype/728 )729 })730 })731
205 unmodified lines