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

Property

Modifiers

Type

Description

path

string

Absolute path to the location of this piece of content on the filesystem

Methods

Method

Description

symlink(target)

Creates a symbolic link at the current location