Skip to content

Commit a80ebf3

Browse files
author
Kent C. Dodds
committed
chore: fix css in html
1 parent 863741a commit a80ebf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__tests__/element-queries.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ test('get throws a useful error message without DOM in Cypress', () => {
514514

515515
test('getByText ignores script tags by default', () => {
516516
const {getAllByText} = render(
517-
'<script>Hello</script><div>Hello</div><style>.Hello</style>',
517+
'<script>Hello</script><div>Hello</div><style>.Hello{}</style>',
518518
)
519519
const divOnly = getAllByText(/hello/i)
520520
expect(divOnly).toHaveLength(1)

0 commit comments

Comments
 (0)