Skip to content

Commit

Permalink
chore: fix build / test issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mweststrate committed Oct 22, 2022
1 parent 128ada2 commit 8aac6ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions __tests__/isDraftable.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use strict"
import { isDraftable } from "../src/immer"
import {isDraftable} from "../src/immer"

test("non-plain object with undefined constructor doesn't error", () => {
const obj = Object.create(Object.create(null))
expect(isDraftable(obj).toBe(true);
})
const obj = Object.create(Object.create(null))
expect(isDraftable(obj)).toBe(false)
})

0 comments on commit 8aac6ca

Please sign in to comment.