# Functions

AfterTest snapshots the currently-running goroutines and returns a function to be run at the end of tests to see whether any goroutines leaked.