Skip to content

Commit

Permalink
feat(HTL-110511): Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
coolestKev committed Nov 5, 2024
1 parent 0b39d3b commit e732f9d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/core/src/Drawer/Drawer.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ describe('Drawer', () => {
Content
</Drawer>
)
expect(getByTestId('drawer-divider')).toBeFalsy()

const element = getByTestId('drawer-divider') // replace with your actual test ID
const style = window.getComputedStyle(element)
const boxShadow = style?.boxShadow
expect(boxShadow).toBeFalsy()
})
})

0 comments on commit e732f9d

Please sign in to comment.