Skip to content

Commit

Permalink
Update src/components/Frame/tests/Frame.test.tsx
Browse files Browse the repository at this point in the history
Co-Authored-By: Andrew Musgrave <andrew.musgrave@shopify.com>
  • Loading branch information
kyledurand and AndrewMusgrave authored Jan 9, 2020
1 parent 97bb2fa commit 7bf3d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Frame/tests/Frame.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ describe('<Frame />', () => {

const {onNavigationDismiss} = frame.props as FrameProps;

expect(onNavigationDismiss).not.toHaveBeenCalled();
expect(spy).not.toHaveBeenCalled();
});

it('calls onNavigationDismiss when escape is pressed and screen size is small', () => {
Expand Down

0 comments on commit 7bf3d14

Please sign in to comment.