Add tribal toggle (UI only)

This commit is contained in:
Vim USDS 2022-07-12 10:05:36 -07:00
commit 70b9072559
11 changed files with 204 additions and 1 deletions

View 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();
});
});