Skip to content

Commit fd2de95

Browse files
authored
Merge pull request #3229 from SwiftPackageIndex/add-snapshottest-comment
A quick comment to remind me how to enable re-recording all snapshots
2 parents b7b7fbf + d63f328 commit fd2de95

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/AppTests/SnapshotTestCase.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class SnapshotTestCase: AppTestCase {
2727
}
2828

2929
override func invokeTest() {
30+
// To force a re-record of all snapshots, use `record: .all` rather than `record: .missing`.
3031
withSnapshotTesting(record: .missing, diffTool: .ksdiff) {
3132
super.invokeTest()
3233
}

0 commit comments

Comments
 (0)