Skip to content

Commit 00b558c

Browse files
committed
chore: fix test
1 parent 7dc5448 commit 00b558c

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

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

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -183,23 +183,6 @@ describe('useAssistantActions', function () {
183183
},
184184
});
185185

186-
expect(Object.keys(result.current)).to.have.length.greaterThan(0);
187-
expect(result.current.interpretExplainPlan).to.be.a('function');
188-
expect(result.current.interpretConnectionError).to.be.a('function');
189-
expect(result.current.tellMoreAboutInsight).to.be.undefined;
190-
});
191-
192-
it('returns actions when both AI features and assistant flag is enabled', function () {
193-
const { result } = renderHook(() => useAssistantActions(), {
194-
wrapper: createWrapper(createMockChat({ messages: [] })),
195-
preferences: {
196-
enableAIAssistant: true,
197-
enableGenAIFeatures: true,
198-
enableGenAIFeaturesAtlasOrg: true,
199-
cloudFeatureRolloutAccess: { GEN_AI_COMPASS: true },
200-
},
201-
});
202-
203186
expect(Object.keys(result.current)).to.have.length.greaterThan(0);
204187
expect(result.current.interpretExplainPlan).to.be.a('function');
205188
expect(result.current.interpretConnectionError).to.be.a('function');

0 commit comments

Comments
 (0)