mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-29 15:50:28 +01:00
18 lines
452 B
JavaScript
18 lines
452 B
JavaScript
|
import React from 'react';
|
||
|
import { render } from '@testing-library/react';
|
||
|
import CustodyLabels from './custody-labels';
|
||
|
|
||
|
describe('CustodyLabels Component', () => {
|
||
|
it('should render correctly', () => {
|
||
|
const props = {
|
||
|
labels: [{ key: 'testKey', value: 'value' }],
|
||
|
index: 'index',
|
||
|
hideNetwork: 'true',
|
||
|
};
|
||
|
|
||
|
const { container } = render(<CustodyLabels {...props} />);
|
||
|
|
||
|
expect(container).toMatchSnapshot();
|
||
|
});
|
||
|
});
|