Skip to content

Commit b2b4bd3

Browse files
committed
Revert "test: add failing test for #104"
This reverts commit 71d1351.
1 parent 71d1351 commit b2b4bd3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/__tests__/to-have-text-content.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@ describe('.toHaveTextContent', () => {
2424
expect(queryByTestId('count-value')).not.toHaveTextContent('2'),
2525
).toThrowError()
2626
})
27-
28-
test('handles falsy values for text content', () => {
29-
const {queryByTestId} = render(`<span data-testid="count-value">0</span>`)
30-
31-
expect(() =>
32-
expect(queryByTestId('count-value2')).toHaveTextContent(''),
33-
).toThrowError()
34-
})
3527

3628
test('normalizes whitespace by default', () => {
3729
const {container} = render(`

0 commit comments

Comments
 (0)