diff --git a/tests/getUpdateInfo.test.js b/tests/getUpdateInfo.test.js index d10cf3e..f12047d 100644 --- a/tests/getUpdateInfo.test.js +++ b/tests/getUpdateInfo.test.js @@ -68,7 +68,7 @@ describe('getUpdateInfo', () => { }); }); - test('Same eq by value state', () => { + test.only('Same state', () => { const input = { Component: TestComponent, displayName: getDisplayName(TestComponent), @@ -84,7 +84,7 @@ describe('getUpdateInfo', () => { ...input, displayName: 'TestComponent', reason: { - propsDifferences: false, + propsDifferences: [], stateDifferences: [], hookDifferences: false, ownerDifferences: false, @@ -108,7 +108,7 @@ describe('getUpdateInfo', () => { ...input, displayName: 'TestComponent', reason: { - propsDifferences: false, + propsDifferences: [], stateDifferences: [], hookDifferences: false, ownerDifferences: false, @@ -163,7 +163,7 @@ describe('getUpdateInfo', () => { ...input, displayName: 'TestComponent', reason: { - propsDifferences: false, + propsDifferences: [], stateDifferences: [ { pathString: 'a', @@ -265,7 +265,7 @@ describe('getUpdateInfo', () => { ...input, displayName: 'TestComponent', reason: { - propsDifferences: false, + propsDifferences: [], stateDifferences: [ { pathString: 'a', @@ -367,7 +367,7 @@ describe('getUpdateInfo', () => { ...input, displayName: 'TestComponent', reason: { - propsDifferences: false, + propsDifferences: [], stateDifferences: [ { pathString: 'a',