We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa5e744 commit 7cfbfdbCopy full SHA for 7cfbfdb
polaris-react/src/components/Backdrop/tests/Backdrop.test.tsx
@@ -7,9 +7,7 @@ describe('<Backdrop />', () => {
7
describe('onClick()', () => {
8
it('is called when the backdrop is clicked', () => {
9
const spy = jest.fn();
10
- const backdrop = mountWithApp(
11
- <Backdrop onClick={spy} />,
12
- );
+ const backdrop = mountWithApp(<Backdrop onClick={spy} />);
13
backdrop.find('div')!.trigger('onClick');
14
expect(spy).toHaveBeenCalled();
15
});
@@ -22,7 +20,7 @@ describe('<Backdrop />', () => {
22
20
23
21
24
25
- })
+ });
26
27
describe('onTouchStart()', () => {
28
it('is called when the backdrop is touched', () => {
0 commit comments