data-test-api
    Preparing search index...

    Function default

    • Initialise the DataTestApi with the root directory.

      Type Parameters

      • RootPath extends string

      Parameters

      • root: RootPath

        The root directory for the data test API. It can be relative or absolute.

      • OptionalfileFilter: (file: Dirent) => boolean

        An optional filter function to determine which files to include. Defaults to filtering only files.

      Returns DataTestApi<RootPath>

      An instance of DataTestApi.