function
test.default.after
): void;
This function creates a hook that runs after executing a suite.
describe('tests', async () => {
after(() => console.log('finished running tests'));
it('is a subtest', () => {
// Some relevant assertion here
});
});@param fn
The hook function. If the hook uses callbacks, the callback function is passed as the second argument.
@param options
Configuration options for the hook.