Skip to content

Commit

Permalink
feat(modal): oops forgot matchers
Browse files Browse the repository at this point in the history
  • Loading branch information
andioneto committed Oct 5, 2021
1 parent fb74c70 commit 76c3c7d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ import * as React from 'react';

import {render, screen} from '@testing-library/react';
import {CustomizationProvider} from '@twilio-paste/customization';
import {matchers} from 'jest-emotion';

import {BaseModal, initStyles} from '../stories/customization.stories';

expect.extend(matchers);

jest.mock('@twilio-paste/modal-dialog-primitive', () => {
const actual = jest.requireActual('@twilio-paste/modal-dialog-primitive');
const {forwardRef: mockForwardRef} = jest.requireActual('react');
Expand Down

0 comments on commit 76c3c7d

Please sign in to comment.