We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d328179 commit 046edb8Copy full SHA for 046edb8
src/components/alert/__tests__/CAlert.spec.tsx
@@ -32,7 +32,7 @@ test('CAlert click close button', async () => {
32
)
33
expect(onDismiss).toHaveBeenCalledTimes(0)
34
expect(onDismissed).toHaveBeenCalledTimes(0)
35
- let btn = document.querySelector('.btn-close')
+ const btn = document.querySelector('.btn-close')
36
if (btn !== null) {
37
fireEvent.click(btn)
38
}
0 commit comments