File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
tests-ui/tests/components/bottomPanel/tabs/terminal Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -102,9 +102,7 @@ describe('BaseTerminal', () => {
102
102
}
103
103
104
104
beforeEach ( ( ) => {
105
- // Reset mocks before each test
106
105
vi . clearAllMocks ( )
107
- // Use the mocked terminal directly
108
106
terminalMock = mockTerminal
109
107
} )
110
108
@@ -134,7 +132,6 @@ describe('BaseTerminal', () => {
134
132
const button = wrapper . find ( 'button[aria-label]' )
135
133
expect ( button . exists ( ) ) . toBe ( true )
136
134
137
- // Initially button should not be interactive (has opacity-0 and pointer-events-none)
138
135
expect ( button . classes ( ) ) . toContain ( 'opacity-0' )
139
136
expect ( button . classes ( ) ) . toContain ( 'pointer-events-none' )
140
137
} )
@@ -154,7 +151,6 @@ describe('BaseTerminal', () => {
154
151
terminalMock . hasSelection . mockReturnValue ( true )
155
152
wrapper = mountBaseTerminal ( )
156
153
157
- // Trigger selection change
158
154
const selectionCallback = terminalMock . onSelectionChange . mock . calls [ 0 ] [ 0 ]
159
155
selectionCallback ( )
160
156
await nextTick ( )
You can’t perform that action at this time.
0 commit comments