Skip to content

Commit cbe8895

Browse files
kdquistanchalalopenchi
authored andcommitted
fix: assertions on tests
1 parent 8328f48 commit cbe8895

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
@@ -338,8 +338,8 @@ describe("[Unit] ElementAssertion.test.ts", () => {
338338
});
339339

340340
it("returns the assertion instance for negated assertions when the target element is not contained", () => {
341-
expect(parentElementAssertion.not.toContainElement(text)).toBe(parentElementAssertion);
342-
expect(parentElementAssertion.not.toContainElement(container)).toBe(parentElementAssertion);
341+
expect(parentElementAssertion.not.toContainElement(text)).toBeEqual(parentElementAssertion);
342+
expect(parentElementAssertion.not.toContainElement(container)).toBeEqual(parentElementAssertion);
343343
});
344344
});
345345

0 commit comments

Comments
 (0)