Private
#createdPrivate
#didPrivate
#savePrivate
#tPrivate
#testdirPrivate
Static
#refsPrivate
Static
#getThe name of the folder that this test will use with @tapjs/fixture!index.TestFixtures#testdir.
By default, it uses a folder name based on the name of the test file
and subtest, within .tap/fixtures
in the root of the project.
Create a fixture object for use in a @tapjs/fixture!index.TestFixtures#testdir method.
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.
Optional
content: FixtureDirContentGenerated using TypeDoc
Set whether the fixture should be saved or not
Must be set BEFORE calling @tapjs/fixture!index.TestFixtures#testdir, or it will not have any effect.