null-base.js
This file
Path
__tests__/null-base.js
11 lines · 269 bytes · JavaScript
Last changed by
style: use tabsuse-tabsbefore adoptiona9c0fd0
History of this fileTake it
123456789101112"use strict"import produce from "../src/index"
describe("null functionality", () => { const baseState = null
it("should return the original without modifications", () => { const nextState = produce(baseState, () => {}) expect(nextState).toBe(baseState) })})