null-base.js
This file
Path
__tests__/null-base.js
11 lines · 290 bytes · JavaScript
Last changed by
chore: update import paths in testsaleclarsonbefore adoptioncdc09b1
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) })})