Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lukfor committed Sep 1, 2023
1 parent 79cb858 commit a0c6af4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/docs/assertions/snapshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ It ensures that your snapshot file only contains the snapshots required for your
nf-test test tests/main.nf.test --clean-snapshot
```

>:bulb: Obsolete snapshots can only be detected when running all tests in a test file simultaneously, and when all tests pass. If you run a single test or if tests are skipped, nf-test cannot detect obsolete snapshots.
## More Examples

It is also possible to include multiple objects into one snapshot:
Expand Down

0 comments on commit a0c6af4

Please sign in to comment.