@@ -66,7 +66,7 @@ suite('Terminal Service', () => {
6666 // Sending a command will cause the terminal to be created
6767 await service . sendCommand ( '' , [ ] ) ;
6868
69- terminal . verify ( t => t . show ( ) , TypeMoq . Times . exactly ( 2 ) ) ;
69+ terminal . verify ( t => t . show ( TypeMoq . It . isValue ( true ) ) , TypeMoq . Times . exactly ( 2 ) ) ;
7070 service . dispose ( ) ;
7171 terminal . verify ( t => t . dispose ( ) , TypeMoq . Times . exactly ( 1 ) ) ;
7272 } ) ;
@@ -84,7 +84,7 @@ suite('Terminal Service', () => {
8484
8585 await service . sendCommand ( commandToSend , args ) ;
8686
87- terminal . verify ( t => t . show ( ) , TypeMoq . Times . exactly ( 2 ) ) ;
87+ terminal . verify ( t => t . show ( TypeMoq . It . isValue ( true ) ) , TypeMoq . Times . exactly ( 2 ) ) ;
8888 terminal . verify ( t => t . sendText ( TypeMoq . It . isValue ( commandToExpect ) , TypeMoq . It . isValue ( true ) ) , TypeMoq . Times . exactly ( 1 ) ) ;
8989 } ) ;
9090
@@ -98,7 +98,7 @@ suite('Terminal Service', () => {
9898
9999 await service . sendText ( textToSend ) ;
100100
101- terminal . verify ( t => t . show ( ) , TypeMoq . Times . exactly ( 2 ) ) ;
101+ terminal . verify ( t => t . show ( TypeMoq . It . isValue ( true ) ) , TypeMoq . Times . exactly ( 2 ) ) ;
102102 terminal . verify ( t => t . sendText ( TypeMoq . It . isValue ( textToSend ) ) , TypeMoq . Times . exactly ( 1 ) ) ;
103103 } ) ;
104104
@@ -111,7 +111,7 @@ suite('Terminal Service', () => {
111111
112112 await service . show ( ) ;
113113
114- terminal . verify ( t => t . show ( ) , TypeMoq . Times . exactly ( 2 ) ) ;
114+ terminal . verify ( t => t . show ( TypeMoq . It . isValue ( true ) ) , TypeMoq . Times . exactly ( 2 ) ) ;
115115 } ) ;
116116
117117 test ( 'Ensure terminal is activated once after creation' , async ( ) => {
@@ -126,7 +126,7 @@ suite('Terminal Service', () => {
126126 await service . show ( ) ;
127127 await service . show ( ) ;
128128
129- terminal . verify ( t => t . show ( ) , TypeMoq . Times . exactly ( 5 ) ) ;
129+ terminal . verify ( t => t . show ( TypeMoq . It . isValue ( true ) ) , TypeMoq . Times . exactly ( 5 ) ) ;
130130 terminal . verify ( t => t . sendText ( TypeMoq . It . isValue ( 'activation Command' ) ) , TypeMoq . Times . exactly ( 1 ) ) ;
131131 } ) ;
132132
@@ -143,7 +143,7 @@ suite('Terminal Service', () => {
143143 await service . sendText ( textToSend ) ;
144144 await service . sendText ( textToSend ) ;
145145
146- terminal . verify ( t => t . show ( ) , TypeMoq . Times . exactly ( 5 ) ) ;
146+ terminal . verify ( t => t . show ( TypeMoq . It . isValue ( true ) ) , TypeMoq . Times . exactly ( 5 ) ) ;
147147 terminal . verify ( t => t . sendText ( TypeMoq . It . isValue ( 'activation Command' ) ) , TypeMoq . Times . exactly ( 1 ) ) ;
148148 terminal . verify ( t => t . sendText ( TypeMoq . It . isValue ( textToSend ) ) , TypeMoq . Times . exactly ( 4 ) ) ;
149149 } ) ;
0 commit comments