Skip to content

cleanup tests/testthat/_snaps if there are no snapshots #1180

@jimhester

Description

@jimhester

The devel version seems to be leaving an empty _snaps folder if there are no snapshots. This is exposed during package build, so it would be nice to avoid if possible.

e.g.

* checking for empty or unneeded directories
Removed empty directory ‘usethis/tests/testthat/_snaps’

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviorsnapshot 📷

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions