CreateMockDirectoryOptions
Home > @backstage/backend-test-utils
> CreateMockDirectoryOptions
Options for createMockDirectory().
Signature:
export interface CreateMockDirectoryOptions
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
content? | MockDirectoryContent | (Optional) Initializes the directory with the given content, see MockDirectory.setContent(). | |
mockOsTmpDir? | boolean | (Optional) In addition to creating a temporary directory, also mock os.tmpdir() to return the mock directory path until the end of the test suite. |