A Metamask fork with Infura removed and default networks editable
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
ciphermask/ui/pages/swaps/awaiting-signatures/swap-step-icon.test.js

16 lines
520 B

import React from 'react';
import { renderWithProvider } from '../../../../test/jest';
import SwapStepIcon from './swap-step-icon';
describe('SwapStepIcon', () => {
it('renders the component with step 1 by default', () => {
const { container } = renderWithProvider(<SwapStepIcon />);
expect(container).toMatchSnapshot();
});
it('renders the component with step 2', () => {
const { container } = renderWithProvider(<SwapStepIcon stepNumber={2} />);
expect(container).toMatchSnapshot();
});
});