Skip to content

Commit b58dfa6

Browse files
kdquistanchalalopenchi
authored andcommitted
Move toBeEmptyAssertion to the element assertions
1 parent 2aecd49 commit b58dfa6

File tree

3 files changed

+1
-82
lines changed

3 files changed

+1
-82
lines changed

packages/native/src/lib/ElementAssertion.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { get } from "dot-prop-immutable";
33
import { Children } from "react";
44
import { ReactTestInstance } from "react-test-renderer";
55

6-
import { instanceToString } from "./helpers/helpers";
6+
import { instanceToString, isEmpty } from "./helpers/helpers";
77

88
export class ElementAssertion extends Assertion<ReactTestInstance> {
99
public constructor(actual: ReactTestInstance) {

packages/native/src/lib/ToBeEmptyAssertion.ts

Lines changed: 0 additions & 44 deletions
This file was deleted.

packages/native/test/lib/ToBeEmptyElementAssertion.test.tsx

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)