Node TAP
    Preparing search index...

    Variable afterEach

    afterEach: (fn: (t: Test) => any) => void

    Type Declaration

      • (fn: (t: Test) => any): void
      • Run the supplied function after every child test, and any of those child tests' children, and so on.

        The test that has just completed is passed in as an argument to the function. Note that at this point, the test is fully ended, so attempting to call assertion methods on it will raise an error.

        Parameters

        • fn: (t: Test) => any

        Returns void