Skip to content
Myr

null.js

This file

Path

__tests__/null.js

11 lines · 269 bytes · JavaScript

Last changed by

Merge pull request #536 from immerjs/multi-bundleMichel Weststratebefore adoption0d87fc8

History of this file

Take it

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

docs: fix video player scrolling on chrome, fixes #520Michel Weststratebefore adoptionfbae585

line 1why, one step back
1"use strict"

Merge pull request #536 from immerjs/multi-bundleMichel Weststratebefore adoption0d87fc8

line 2why, one step back
2import produce from "../src/immer"

docs: fix video player scrolling on chrome, fixes #520Michel Weststratebefore adoptionfbae585

lines 3–11why, one step back
3
4describe("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})