()
| 12 | |
| 13 | |
| 14 | function makeStubs() { |
| 15 | const modal = { |
| 16 | alert: jest.fn(), |
| 17 | confirm: jest.fn(), |
| 18 | confirmDelete: jest.fn(), |
| 19 | showModal: jest.fn(), |
| 20 | }; |
| 21 | const snackbar = { |
| 22 | callNotify: jest.fn(), |
| 23 | notify: jest.fn(), |
| 24 | }; |
| 25 | return { modal, snackbar }; |
| 26 | } |
| 27 | |
| 28 | |
| 29 | describe('Notifier safe-variant snackbar methods', () => { |