Skip to content

Commit d27657e

Browse files
kdquistanchalalopenchi
authored andcommitted
fix: assertions on tests
1 parent 9f18dfb commit d27657e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/native/test/lib/ElementAssertion.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,8 @@ describe("[Unit] ElementAssertion.test.ts", () => {
298298
});
299299

300300
it("returns the assertion instance for negated assertions when the target element is not contained", () => {
301-
expect(parentElementAssertion.not.toContainElement(text)).toBe(parentElementAssertion);
302-
expect(parentElementAssertion.not.toContainElement(container)).toBe(parentElementAssertion);
301+
expect(parentElementAssertion.not.toContainElement(text)).toBeEqual(parentElementAssertion);
302+
expect(parentElementAssertion.not.toContainElement(container)).toBeEqual(parentElementAssertion);
303303
});
304304
});
305305

0 commit comments

Comments
 (0)