Skip to content

Commit a2cfff9

Browse files
committed
fix: skip electron runtime for chat tests
1 parent 708626d commit a2cfff9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/compass-assistant/src/compass-assistant-provider.spec.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ describe('AssistantProvider', function () {
7070
});
7171

7272
describe('with existing chat instance', function () {
73+
before(function () {
74+
// TODO(COMPASS-9618): skip in electron runtime for now, drawer has issues rendering
75+
if ((process as any).type === 'renderer') {
76+
this.skip();
77+
}
78+
});
79+
7380
async function renderOpenAssistantDrawer(
7481
mockChat: Chat<UIMessage>
7582
): Promise<ReturnType<typeof render>> {

0 commit comments

Comments
 (0)