Skip to content

Commit 0af2447

Browse files
committed
fix: tests
1 parent 5810c3d commit 0af2447

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/SnapshotTestingTests/ImageSerializationPluginTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#if canImport(SwiftUI) && canImport(ObjectiveC)
12
import XCTest
23
import SnapshotTestingPlugin
34
@testable import SnapshotTesting
@@ -116,3 +117,4 @@ class ImageSerializerTests: XCTestCase {
116117
XCTAssertEqual(type(of: plugins[0]).imageFormat.rawValue, "mock", "The first plugin should support the 'mock' format.")
117118
}
118119
}
120+
#endif

0 commit comments

Comments
 (0)