interface TestFixturesOptions {
    saveFixture?: boolean;
    testdir?: string;
}

Properties

saveFixture?: boolean

Set to true to keep the fixture dir after the test ends. Otherwise, any t.testdir() directories are deleted when the test is done.

testdir?: string

Directory to store test fixtures. Defaults to ./.tap/fixtures/${test name}