Skip to content

Commit 73f3242

Browse files
committed
chore: adjust test fixtures
1 parent 3a96503 commit 73f3242

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

packages/compass-generative-ai/src/atlas-ai-service.spec.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,17 @@ const mockConnectionInfo: ConnectionInfo = {
2626
orgId: 'testOrg',
2727
projectId: 'testProject',
2828
clusterName: 'pineapple',
29-
regionalBaseUrl: 'https://example.com',
29+
regionalBaseUrl: null,
3030
metricsId: 'metricsId',
3131
metricsType: 'replicaSet',
3232
instanceSize: 'M10',
3333
clusterType: 'REPLICASET',
3434
clusterUniqueId: 'clusterUniqueId',
35+
clusterState: 'IDLE',
36+
supports: {
37+
globalWrites: false,
38+
rollingIndexes: false,
39+
},
3540
},
3641
};
3742

packages/compass-indexes/src/index.spec.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ describe('CompassIndexesPlugin', function () {
5959
atlasMetadata: {
6060
instanceSize: 'VERY BIG',
6161
metricsType: 'replicaSet',
62+
supports: {
63+
rollingIndexes: true,
64+
},
6265
} as any,
6366
},
6467
{

packages/compass-indexes/src/modules/regular-indexes.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ describe('regular-indexes module', function () {
6868
atlasMetadata: {
6969
metricsType: 'cluster',
7070
instanceSize: 'M10',
71+
supports: {
72+
rollingIndexes: true,
73+
},
7174
},
7275
},
7376
} as ConnectionInfoRef;

0 commit comments

Comments
 (0)