diff options
Diffstat (limited to 'src/components/molecules/layout/widget.test.tsx')
| -rw-r--r-- | src/components/molecules/layout/widget.test.tsx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/components/molecules/layout/widget.test.tsx b/src/components/molecules/layout/widget.test.tsx deleted file mode 100644 index 21c7a3c..0000000 --- a/src/components/molecules/layout/widget.test.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import { describe, expect, it } from '@jest/globals'; -import { render, screen } from '../../../../tests/utils'; -import { Widget } from './widget'; - -const children = 'Widget body'; -const title = 'Widget title'; -const titleLevel = 2; - -describe('Widget', () => { - it('renders the widget title', () => { - render( - <Widget expanded={true} title={title} level={titleLevel}> - {children} - </Widget> - ); - expect( - screen.getByRole('heading', { level: titleLevel }) - ).toHaveTextContent(title); - }); -}); |
