File tree 1 file changed +5
-5
lines changed
test/tools/unified-spec-runner
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import type {
7
7
ServerApiVersion ,
8
8
SeverityLevel ,
9
9
TagSet ,
10
- TopologyType as EventTopologyType ,
10
+ TopologyType ,
11
11
W
12
12
} from '../../mongodb' ;
13
13
import { type TestConfiguration } from '../runner/config' ;
@@ -96,15 +96,15 @@ export interface UnifiedSuite {
96
96
tests : Test [ ] ;
97
97
_yamlAnchors ?: Document ;
98
98
}
99
- export const TopologyType = Object . freeze ( {
99
+ export const TopologyId = Object . freeze ( {
100
100
single : 'single' ,
101
101
replicaset : 'replicaset' ,
102
102
sharded : 'sharded' ,
103
103
shardedReplicaset : 'sharded-replicaset' ,
104
104
loadBalanced : 'load-balanced'
105
105
} as const ) ;
106
106
107
- export type TopologyId = ( typeof TopologyType ) [ keyof typeof TopologyType ] ;
107
+ export type TopologyId = ( typeof TopologyId ) [ keyof typeof TopologyId ] ;
108
108
export interface RunOnRequirement {
109
109
serverless ?: 'forbid' | 'allow' | 'require' ;
110
110
auth ?: boolean ;
@@ -338,10 +338,10 @@ export interface ExpectedSdamEvent {
338
338
topologyDescriptionChangedEvent ?: {
339
339
topologyId ?: any ;
340
340
previousDescription ?: {
341
- type ?: EventTopologyType ;
341
+ type ?: TopologyType ;
342
342
} ;
343
343
newDescription ?: {
344
- type ?: EventTopologyType ;
344
+ type ?: TopologyType ;
345
345
} ;
346
346
} ;
347
347
topologyOpeningEvent ?: {
You can’t perform that action at this time.
0 commit comments