(callback)
| 54 | } |
| 55 | |
| 56 | function withExistingClock(callback) { |
| 57 | return cy.then(() => { |
| 58 | const clock = cy.state('clock'); |
| 59 | if (clock) { |
| 60 | callback(clock); |
| 61 | } |
| 62 | }); |
| 63 | } |
| 64 | |
| 65 | function assertNotification(message) { |
| 66 | // if clock is use, a tick is needed for toastify to show the notifications |
no outgoing calls
no test coverage detected