mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-17 18:51:39 -07:00
Add tribal toggle (UI only)
This commit is contained in:
parent
3c7c23e083
commit
70b9072559
11 changed files with 204 additions and 1 deletions
16
client/src/components/LayerSelector/LayerSelector.test.tsx
Normal file
16
client/src/components/LayerSelector/LayerSelector.test.tsx
Normal file
|
@ -0,0 +1,16 @@
|
|||
import * as React from 'react';
|
||||
import {render} from '@testing-library/react';
|
||||
import {LocalizedComponent} from '../../test/testHelpers';
|
||||
import LayerSelector from './LayerSelector';
|
||||
|
||||
describe('rendering of the LayerSelector', () => {
|
||||
const {asFragment} = render(
|
||||
<LocalizedComponent>
|
||||
<LayerSelector />
|
||||
</LocalizedComponent>,
|
||||
);
|
||||
|
||||
it('checks if component renders', () => {
|
||||
expect(asFragment()).toMatchSnapshot();
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue