Skip to content

Commit ca8000a

Browse files
committed
tests
1 parent 48e75c3 commit ca8000a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/common/terminals/service.unit.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ suite('Terminal Service', () => {
245245
onDidWriteTerminalDataEmitter.fire({ terminal: terminal.object, data: '>>> ' });
246246
await executePromise;
247247

248-
terminal.verify((t) => t.show(TypeMoq.It.isValue(true)), TypeMoq.Times.atLeastOnce());
248+
terminal.verify((t) => t.show(TypeMoq.It.isValue(true)), TypeMoq.Times.exactly(1));
249249
terminal.verify((t) => t.sendText(TypeMoq.It.isValue(textToSend)), TypeMoq.Times.exactly(1));
250250
});
251251

@@ -268,7 +268,7 @@ suite('Terminal Service', () => {
268268
onDidWriteTerminalDataEmitter.fire({ terminal: terminal.object, data: '>>> ' });
269269
await executePromise;
270270

271-
terminal.verify((t) => t.show(TypeMoq.It.isValue(true)), TypeMoq.Times.atLeastOnce());
271+
terminal.verify((t) => t.show(TypeMoq.It.isValue(true)), TypeMoq.Times.exactly(1));
272272
terminal.verify((t) => t.sendText(TypeMoq.It.isValue(textToSend)), TypeMoq.Times.exactly(1));
273273
});
274274

@@ -292,7 +292,7 @@ suite('Terminal Service', () => {
292292
onDidWriteTerminalDataEmitter.fire({ terminal: terminal.object, data: '>>> ' });
293293
await executePromise;
294294

295-
terminal.verify((t) => t.show(TypeMoq.It.isValue(true)), TypeMoq.Times.atLeastOnce());
295+
terminal.verify((t) => t.show(TypeMoq.It.isValue(true)), TypeMoq.Times.exactly(1));
296296
terminal.verify((t) => t.sendText(TypeMoq.It.isValue(textToSend)), TypeMoq.Times.exactly(1));
297297
});
298298

0 commit comments

Comments
 (0)