Skip to content
Myr

null.js

This file

Path

__tests__/null.js

11 lines · 269 bytes · JavaScript

Last changed by

Not known.

History of this file

Take it

The walk stopped after 200 commits: lines older than 949960f point at it.

fix: fixed broken minimized error url (issue#550)Michel Weststratebefore adoption949960f

lines 1–11why, one step back
1"use strict"
2import produce from "../src/immer"34describe("null functionality", () => {5 const baseState = null67 it("should return the original without modifications", () => {8 const nextState = produce(baseState, () => {})9 expect(nextState).toBe(baseState)10 })11})