null.js
This file
Path
__tests__/null.js
11 lines · 269 bytes · JavaScript
Last changed by
Merge branch 'master' into map-fixesMichel Weststratebefore adoptioncb63fb0
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) })})