Skip to content

Commit b2afbfa

Browse files
kdquistanchalalopenchi
authored andcommitted
fix: assertions on tests
1 parent f261e19 commit b2afbfa

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

342342
it("returns the assertion instance for negated assertions when the target element is not contained", () => {
343-
expect(parentElementAssertion.not.toContainElement(text)).toBe(parentElementAssertion);
344-
expect(parentElementAssertion.not.toContainElement(container)).toBe(parentElementAssertion);
343+
expect(parentElementAssertion.not.toContainElement(text)).toBeEqual(parentElementAssertion);
344+
expect(parentElementAssertion.not.toContainElement(container)).toBeEqual(parentElementAssertion);
345345
});
346346
});
347347

0 commit comments

Comments
 (0)