Skip to main content

method TestContext.prototype.after

#TestContext.prototype.after(): void

This function is used to create a hook that runs after the current test finishes.

Parameters #

#fn: TestContextHookFn
optional

The hook function. The first argument to this function is a TestContext object. If the hook uses callbacks, the callback function is passed as the second argument.

#options: HookOptions
optional

Configuration options for the hook.

Return Type #

void

你找到了你需要的东西吗?

隐私政策