Skip to content

Commit

Permalink
chore(testing): update testing comment
Browse files Browse the repository at this point in the history
  • Loading branch information
unadlib committed Jan 23, 2024
1 parent ea37896 commit cfc3a37
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3632,7 +3632,6 @@ test('preserves non-enumerable properties - useStrictShallowCopy:true', () => {
baseState,
(s: any) => {
if (canReferNonEnumerableProperty) expect(s.foo).toBeTruthy();
// !!! This is different from immer
if (useStrictShallowCopy) expect(isEnumerable(s, 'foo')).toBeFalsy();
if (canReferNonEnumerableProperty) s.bar++;
if (useStrictShallowCopy) expect(isEnumerable(s, 'foo')).toBeFalsy();
Expand Down

0 comments on commit cfc3a37

Please sign in to comment.