* Removes every live resource the journal records, including the sandbox repository. Suites that create nothing * beyond the sandbox can omit it; `cleanupSuite` then deletes the sandbox with the fixture token.
(journal: Journal, journalPath: string, credentials: CleanupCredentials)
| 82 | * beyond the sandbox can omit it; `cleanupSuite` then deletes the sandbox with the fixture token. |
| 83 | */ |
| 84 | cleanup?(journal: Journal, journalPath: string, credentials: CleanupCredentials): Promise<void>; |
| 85 | } |
| 86 | |
| 87 | /** Runs a suite's cleanup, or deletes only its sandbox repository when the suite defines none. */ |
no outgoing calls