Skip to content
Myr

Demonstrate possible regression

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Michel Weststrate · committed by Michel Weststrate · parent 15a449a · Browse files · 1 file+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−1 removed

  • tests:+3 added−1 removed

1 file+3 added−1 removed

modified:__tests__/base.js+3 added-1 removed
939 unmodified lines
940 if (useStrictShallowCopy) expect(isEnumerable(s, "foo")).toBeFalsy()941 if (canReferNonEnumerableProperty) s.foo.a++942 if (useStrictShallowCopy) expect(isEnumerable(s, "foo")).toBeFalsy()943 })944 if (canReferNonEnumerableProperty) expect(nextState.foo).toBeTruthy()944 if (canReferNonEnumerableProperty) {945 expect(nextState.foo).toEqual({a: 2})946 }947 if (useStrictShallowCopy)948 expect(isEnumerable(nextState, "foo")).toBeFalsy()949 if (useStrictShallowCopy) expect(nextState.baz).toBeTruthy()950 })
1506 unmodified lines