Constructors

Properties

Accessors

Methods

Spies, Mocks, and Fixtures

Constructors

Properties

#createdTestdir: boolean = false
#didOnEOF: boolean = false
#saveFixture: boolean = false
#testdir: string
#refs: Map<TestBase, TestFixtures> = ...

Accessors

Methods

Spies, Mocks, and Fixtures

  • Create a test directory, optionally filling it up with contents

    If the @tapjs/after plugin is loaded, the testdir will be automatically deleted at the end of the test.

    To not delete the directory after the test, use the saveFixture: true option when creating the test, or specify --save-fixture on the command line or in the tap configuration.

    Parameters

    Returns string

Generated using TypeDoc