Skip to content

Commit 1e1ca60

Browse files
Copilotedvilme
andauthored
Assert terminal REPL sends Enter
Co-authored-by: edvilme <5952839+edvilme@users.noreply.github.com>
1 parent 29cf858 commit 1e1ca60

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,10 @@ suite('Terminal Service', () => {
309309
await executePromise;
310310

311311
terminal.verify((t) => t.show(TypeMoq.It.isValue(true)), TypeMoq.Times.exactly(1));
312-
terminal.verify((t) => t.sendText(TypeMoq.It.isValue(textToSend)), TypeMoq.Times.exactly(1));
312+
terminal.verify(
313+
(t) => t.sendText(TypeMoq.It.isValue(textToSend), TypeMoq.It.isValue(true)),
314+
TypeMoq.Times.exactly(1),
315+
);
313316
});
314317

315318
test('Ensure sendText is called when Python shell integration and terminal shell integration are both enabled - Mac, Linux && Python >= 3.13', async () => {

0 commit comments

Comments
 (0)