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 1d52432 commit cddee3dCopy full SHA for cddee3d
1 file changed
static/app/components/banner.spec.tsx
@@ -13,7 +13,7 @@ describe('Banner', () => {
13
expect(localStorage.getItem('test-banner-dismissed')).toBe('true');
14
});
15
16
- it('is not dismissable', () => {
+ it('does not render a Close button when isDismissable is false', () => {
17
render(<Banner isDismissable={false} />);
18
expect(screen.queryByLabelText('Close')).not.toBeInTheDocument();
19
0 commit comments