@@ -89,7 +89,7 @@ describe('ShellInternalState', () => {
89
89
90
90
await internalState . fetchConnectionInfo ( ) ;
91
91
const prompt = await internalState . getDefaultPrompt ( ) ;
92
- expect ( prompt ) . to . equal ( 'Atlas Data Lake > ' ) ;
92
+ expect ( prompt ) . to . equal ( 'AtlasDataLake test > ' ) ;
93
93
} ) ;
94
94
95
95
it ( 'wins against enterprise' , async ( ) => {
@@ -103,7 +103,7 @@ describe('ShellInternalState', () => {
103
103
104
104
await internalState . fetchConnectionInfo ( ) ;
105
105
const prompt = await internalState . getDefaultPrompt ( ) ;
106
- expect ( prompt ) . to . equal ( 'Atlas Data Lake > ' ) ;
106
+ expect ( prompt ) . to . equal ( 'AtlasDataLake test > ' ) ;
107
107
} ) ;
108
108
} ) ;
109
109
@@ -113,7 +113,7 @@ describe('ShellInternalState', () => {
113
113
114
114
await internalState . fetchConnectionInfo ( ) ;
115
115
const prompt = await internalState . getDefaultPrompt ( ) ;
116
- expect ( prompt ) . to . equal ( 'Enterprise > ' ) ;
116
+ expect ( prompt ) . to . equal ( 'Enterprise test > ' ) ;
117
117
} ) ;
118
118
119
119
it ( 'inferred from buildInfo modules' , async ( ) => {
@@ -124,7 +124,7 @@ describe('ShellInternalState', () => {
124
124
125
125
await internalState . fetchConnectionInfo ( ) ;
126
126
const prompt = await internalState . getDefaultPrompt ( ) ;
127
- expect ( prompt ) . to . equal ( 'Enterprise > ' ) ;
127
+ expect ( prompt ) . to . equal ( 'Enterprise test > ' ) ;
128
128
} ) ;
129
129
} ) ;
130
130
@@ -156,7 +156,7 @@ describe('ShellInternalState', () => {
156
156
setupServiceProviderWithTopology ( topology ) ;
157
157
158
158
const prompt = await internalState . getDefaultPrompt ( ) ;
159
- expect ( prompt ) . to . equal ( `configset [direct: ${ p } ]> ` ) ;
159
+ expect ( prompt ) . to . equal ( `configset [direct: ${ p } ] test > ` ) ;
160
160
} ) ;
161
161
} ) ;
162
162
@@ -186,7 +186,7 @@ describe('ShellInternalState', () => {
186
186
setupServiceProviderWithTopology ( topology ) ;
187
187
188
188
const prompt = await internalState . getDefaultPrompt ( ) ;
189
- expect ( prompt ) . to . equal ( '> ' ) ;
189
+ expect ( prompt ) . to . equal ( 'test > ' ) ;
190
190
} ) ;
191
191
} ) ;
192
192
} ) ;
@@ -203,7 +203,7 @@ describe('ShellInternalState', () => {
203
203
setupServiceProviderWithTopology ( topology ) ;
204
204
205
205
const prompt = await internalState . getDefaultPrompt ( ) ;
206
- expect ( prompt ) . to . equal ( 'leSet [secondary]> ' ) ;
206
+ expect ( prompt ) . to . equal ( 'leSet [secondary] test > ' ) ;
207
207
} ) ;
208
208
209
209
it ( 'shows the setName and primary hint for ReplicaSetWithPrimary' , async ( ) => {
@@ -217,7 +217,7 @@ describe('ShellInternalState', () => {
217
217
setupServiceProviderWithTopology ( topology ) ;
218
218
219
219
const prompt = await internalState . getDefaultPrompt ( ) ;
220
- expect ( prompt ) . to . equal ( 'leSet [primary]> ' ) ;
220
+ expect ( prompt ) . to . equal ( 'leSet [primary] test > ' ) ;
221
221
} ) ;
222
222
} ) ;
223
223
@@ -232,7 +232,7 @@ describe('ShellInternalState', () => {
232
232
setupServiceProviderWithTopology ( topology ) ;
233
233
234
234
const prompt = await internalState . getDefaultPrompt ( ) ;
235
- expect ( prompt ) . to . equal ( '[mongos]> ' ) ;
235
+ expect ( prompt ) . to . equal ( '[mongos] test > ' ) ;
236
236
} ) ;
237
237
it ( 'shows mongos and a setName' , async ( ) => {
238
238
const topology = {
@@ -245,7 +245,7 @@ describe('ShellInternalState', () => {
245
245
setupServiceProviderWithTopology ( topology ) ;
246
246
247
247
const prompt = await internalState . getDefaultPrompt ( ) ;
248
- expect ( prompt ) . to . equal ( 'leSet [mongos]> ' ) ;
248
+ expect ( prompt ) . to . equal ( 'leSet [mongos] test > ' ) ;
249
249
} ) ;
250
250
} ) ;
251
251
@@ -266,7 +266,7 @@ describe('ShellInternalState', () => {
266
266
267
267
await internalState . fetchConnectionInfo ( ) ;
268
268
const prompt = await internalState . getDefaultPrompt ( ) ;
269
- expect ( prompt ) . to . equal ( '> ' ) ;
269
+ expect ( prompt ) . to . equal ( 'test > ' ) ;
270
270
} ) ;
271
271
} ) ;
272
272
@@ -291,7 +291,7 @@ describe('ShellInternalState', () => {
291
291
setupServiceProviderWithTopology ( topology ) ;
292
292
293
293
const prompt = await internalState . getDefaultPrompt ( ) ;
294
- expect ( prompt ) . to . equal ( '> ' ) ;
294
+ expect ( prompt ) . to . equal ( 'test > ' ) ;
295
295
} ) ;
296
296
} ) ;
297
297
} ) ;
0 commit comments