Skip to content

Commit

Permalink
Fixed unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
mweststrate committed May 1, 2018
1 parent 5b8ed13 commit 41bb8b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ function runBaseTest(name, useProxies, freeze) {
it("should not allow changing prototype", () => {
produce({}, draft => {
expect(() => Object.setPrototypeOf(draft, Array)).toThrow(
/try this/
/does not support `setPrototype/
)
})
})
Expand Down

0 comments on commit 41bb8b9

Please sign in to comment.