Calls callback(data) when the test ends, after its body; the last registered runs first.
- t: the running test.
- callback: called with
datawhen the test ends. - data: passed to
callback.
cleanup :: (t: *Test, callback: (data: *void), data: *void = null)
Calls callback(data) when the test ends, after its body; the last registered runs first.
Parameters
- t: *Test
- the running test.
- callback: (data: *void)
- called with
datawhen the test ends. - data: *void
- passed to
callback.