Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
langz committed Nov 20, 2024
1 parent 9a2e9f6 commit 666356f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ describe('ValueBlock', () => {
)

expect(document.querySelector('dl')).toBeInTheDocument()
expect(document.querySelector('dt')).toBeEmptyDOMElement()
expect(document.querySelector('dt')).not.toBeInTheDocument()
expect(document.querySelector('dd')).toBeInTheDocument()

rerender(
Expand Down Expand Up @@ -178,7 +178,7 @@ describe('ValueBlock', () => {

expect(
document.querySelector('.dnb-forms-value-block__label')
).toBeEmptyDOMElement()
).not.toBeInTheDocument()
})

it('renders the label with a strong element', () => {
Expand Down

0 comments on commit 666356f

Please sign in to comment.