Skip to content

Explicit cleanup operation #298

@kibertoad

Description

@kibertoad

Tmp Version

0.2.3

Expected Behavior

It would be great if tmp exposed a synchronous cleanup operation, which would remove all the controlled files when called. This method could be used in afterEach test blocks.

Experienced Behavior

Currently only setGracefulCleanup method exists, which does not work reliably with test runners.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions