Skip to content

Commit a30e1ad

Browse files
committed
remove test artificats
1 parent 0c6b449 commit a30e1ad

8 files changed

+7
-7
lines changed

Tests/SnapshotTestingTests/RecordTests.swift

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ import SnapshotTesting
22
import XCTest
33

44
class RecordTests: XCTestCase {
5+
override func tearDown() {
6+
try? FileManager.default
7+
.removeItem(at: snapshotURL().deletingLastPathComponent())
8+
try? FileManager.default
9+
.createDirectory(at: snapshotURL().deletingLastPathComponent(), withIntermediateDirectories: true)
10+
}
11+
512
func testRecordNever() {
613
let snapshotURL = snapshotURL()
714

Tests/SnapshotTestingTests/__Snapshots__/RecordTests/testRecordAll.1.json

-1
This file was deleted.

Tests/SnapshotTestingTests/__Snapshots__/RecordTests/testRecordAll_Fresh.1.json

-1
This file was deleted.

Tests/SnapshotTestingTests/__Snapshots__/RecordTests/testRecordAll_Overwrite.1.json

-1
This file was deleted.

Tests/SnapshotTestingTests/__Snapshots__/RecordTests/testRecordFailed_NoFailure.1.json

-1
This file was deleted.

Tests/SnapshotTestingTests/__Snapshots__/RecordTests/testRecordFailed_WhenFailure.1.json

-1
This file was deleted.

Tests/SnapshotTestingTests/__Snapshots__/RecordTests/testRecordMissing.1.json

-1
This file was deleted.

Tests/SnapshotTestingTests/__Snapshots__/RecordTests/testRecordMissing_ExistingFile.1.json

-1
This file was deleted.

0 commit comments

Comments
 (0)