Skip to content
Myr

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 file

Take it

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

Merge pull request #213 from aleclarson/patch2Michel Weststratebefore adoption51648ef

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

chore: update import paths in testsaleclarsonbefore adoptioncdc09b1

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

Merge pull request #213 from aleclarson/patch2Michel Weststratebefore adoption51648ef

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})