()
| 171 | } |
| 172 | |
| 173 | const afterEach = (): void => { |
| 174 | // Restore all mocks |
| 175 | analyticsSpy?.restore() |
| 176 | cryptoSpy?.restore() |
| 177 | dbSpy?.restore() |
| 178 | |
| 179 | // Reset the spies |
| 180 | analyticsSpy = undefined |
| 181 | cryptoSpy = undefined |
| 182 | dbSpy = undefined |
| 183 | } |
| 184 | |
| 185 | const restore = afterEach |
| 186 |
no outgoing calls
no test coverage detected