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