diff options
Diffstat (limited to 'src/components/atoms/icons/cc-by-sa.test.tsx')
| -rw-r--r-- | src/components/atoms/icons/cc-by-sa.test.tsx | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/src/components/atoms/icons/cc-by-sa.test.tsx b/src/components/atoms/icons/cc-by-sa.test.tsx index 03d54f7..adb03e4 100644 --- a/src/components/atoms/icons/cc-by-sa.test.tsx +++ b/src/components/atoms/icons/cc-by-sa.test.tsx @@ -1,9 +1,9 @@ -import { render } from '@test-utils'; +import { render, screen } from '@test-utils';  import CCBySA from './cc-by-sa';  describe('CCBySA', () => {    it('renders a CC BY SA icon', () => { -    const { container } = render(<CCBySA />); -    expect(container).toBeDefined(); +    render(<CCBySA />); +    expect(screen.getByTitle('CC BY SA')).toBeInTheDocument();    });  }); | 
