test-filesystem
    Preparing search index...

    Function setDefaults

    • Override the temp directory path used by afterEach, beforeEach, and createTempDir. Call this once, before your tests run, if the default ('test-temp/') doesn't suit your project.

      Parameters

      • dirPath: string = null

        The directory path to use for temp files instead of the default. Ignored (the existing default stays in effect) if falsy.

      Returns void