diff --git a/polaris-react/src/components/Frame/components/Toast/tests/Toast.test.tsx b/polaris-react/src/components/Frame/components/Toast/tests/Toast.test.tsx
index 1f8808c90bf..b7186f8ff0b 100644
--- a/polaris-react/src/components/Frame/components/Toast/tests/Toast.test.tsx
+++ b/polaris-react/src/components/Frame/components/Toast/tests/Toast.test.tsx
@@ -55,9 +55,7 @@ describe('', () => {
});
it('renders a leading icon if an icon is provided', () => {
- const message = mountWithApp(
- ,
- );
+ const message = mountWithApp();
expect(message).toContainReactComponent(Icon, {source: CheckIcon});
});
@@ -213,18 +211,14 @@ describe('', () => {
describe('onClick', () => {
it('wraps the toast in a button when provided', () => {
const spy = jest.fn();
- const message = mountWithApp(
- ,
- );
+ const message = mountWithApp();
expect(message.find('button')).toContainReactText(mockProps.content);
});
it('fires the callback when the toast is clicked', () => {
const spy = jest.fn();
- const message = mountWithApp(
- ,
- );
+ const message = mountWithApp();
message.find('button')?.trigger('onClick');