Skip to content

Commit b1663ec

Browse files
committed
Hiding preview from tests to prevent failure
1 parent 49c0bcf commit b1663ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CodeEdit/Features/Editor/TabBar/Tabs/Tab/EditorTabCloseButton.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ struct EditorTabCloseButton: View {
105105
}
106106
}
107107

108+
#if DEBUG
108109
@available(macOS 14.0, *)
109110
#Preview {
110111
@Previewable @State var closeButtonGestureActive: Bool = false
@@ -119,3 +120,4 @@ struct EditorTabCloseButton: View {
119120
isHoveringClose: $isHoveringClose
120121
)
121122
}
123+
#endif

0 commit comments

Comments
 (0)