1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 15:50:28 +01:00
metamask-extension/ui/components/institutional/custody-labels/custody-labels.test.js

18 lines
452 B
JavaScript
Raw Normal View History

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