mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-30 08:09:15 +01:00
5a14a1a54a
* add storybook unit tests with CI integration * fix command and fix casing for test * change ci ordering for storybook tasks * fix syntax error * fix jest * lint * Add transaction-total-banner render test to Storybook (#12517) * transaction-total-banner * lint * confirm to spec * lint * fix jest ocnfig for snapshot test failure
12 lines
447 B
JavaScript
12 lines
447 B
JavaScript
/* eslint-disable jest/require-top-level-describe */
|
|
import React from 'react';
|
|
import { render, screen } from '@testing-library/react';
|
|
|
|
import '@testing-library/jest-dom/extend-expect';
|
|
import { DefaultStory } from './transaction-total-banner.stories';
|
|
|
|
it('renders transaction total banner stories with Base state', () => {
|
|
render(<DefaultStory {...DefaultStory.args} />);
|
|
expect(screen.findByTestId('#popover-content')).toBeDefined();
|
|
});
|