Skip to content

Commit 02643ce

Browse files
committed
refactor(nsview): add convenience GenericWindow preconfigured for CI
1 parent 23fa4d6 commit 02643ce

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/SnapshotTesting/Snapshotting/NSView.swift

+4
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,8 @@ public final class GenericWindow: NSWindow {
123123
}
124124
}
125125
}
126+
127+
extension GenericWindow {
128+
static let ci = GenericWindow(backingScaleFactor: 1.0, colorSpace: .genericRGB)
129+
}
126130
#endif

0 commit comments

Comments
 (0)