Skip to content

Commit 1904e3d

Browse files
committed
fix toast error for test
1 parent 27b4870 commit 1904e3d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app/contexts/FeatureFlagOverrideContext.test.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ jest.mock('../component-library/components/Toast', () => {
3333
ToastContext: React.createContext({
3434
toastRef: { current: { showToast: jest.fn() } },
3535
}),
36+
ToastVariants: {
37+
Plain: 'Plain',
38+
Account: 'Account',
39+
Network: 'Network',
40+
App: 'App',
41+
Icon: 'Icon',
42+
},
3643
};
3744
});
3845

0 commit comments

Comments
 (0)