mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-02 14:15:06 +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();
|
||
|
});
|
||
|
});
|