Skip to main content

MockDirectoryContentCallbackContext

Home > @backstage/backend-test-utils > MockDirectoryContentCallbackContext

A context that allows for more advanced file system operations when writing mock directory content.

Signature:

export interface MockDirectoryContentCallbackContext 

Properties

PropertyModifiersTypeDescription
pathstringAbsolute path to the location of this piece of content on the filesystem

Methods

MethodDescription
symlink(target)Creates a symbolic link at the current location