Skip to content
Myr

null-base.js

This file

Path

__tests__/null-base.js

11 lines · 269 bytes · JavaScript

Last changed by

style: use tabsuse-tabsbefore adoptiona9c0fd0

History of this file

Take it

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

update yarn.lockaleclarsonbefore adoptionbd28ceb

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"

update yarn.lockaleclarsonbefore adoptionbd28ceb

lines 3–4why, one step back
3
4describe("null functionality", () => {

style: use tabsuse-tabsbefore adoptiona9c0fd0

line 5why, one step back
5 const baseState = null

update yarn.lockaleclarsonbefore adoptionbd28ceb

line 6why, one step back
6

style: use tabsuse-tabsbefore adoptiona9c0fd0

lines 7–10why, one step back
7 it("should return the original without modifications", () => {
8 const nextState = produce(baseState, () => {})9 expect(nextState).toBe(baseState)10 })

update yarn.lockaleclarsonbefore adoptionbd28ceb

line 11why, one step back
11})