File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ describe('Streams', () => {
2424
2525 // Create a custom cert pair
2626 cy . exec ( 'mkcert -cert-file=/test/cypress/fixtures/website1.pem -key-file=/test/cypress/fixtures/website1.key.pem website1.example.com' ) . then ( ( result ) => {
27- expect ( result . code ) . to . eq ( 0 ) ;
27+ expect ( result . exitCode ) . to . eq ( 0 ) ;
2828 // Install CA
2929 cy . exec ( 'mkcert -install' ) . then ( ( result ) => {
30- expect ( result . code ) . to . eq ( 0 ) ;
30+ expect ( result . exitCode ) . to . eq ( 0 ) ;
3131 } ) ;
3232 } ) ;
3333
@@ -56,7 +56,7 @@ describe('Streams', () => {
5656 expect ( data ) . to . have . property ( 'udp_forwarding' , false ) ;
5757
5858 cy . exec ( 'curl --noproxy -- http://website1.example.com:1500' ) . then ( ( result ) => {
59- expect ( result . code ) . to . eq ( 0 ) ;
59+ expect ( result . exitCode ) . to . eq ( 0 ) ;
6060 expect ( result . stdout ) . to . contain ( 'yay it works' ) ;
6161 } ) ;
6262 } ) ;
@@ -107,7 +107,7 @@ describe('Streams', () => {
107107 expect ( data ) . to . have . property ( 'udp_forwarding' , true ) ;
108108
109109 cy . exec ( 'curl --noproxy -- http://website1.example.com:1502' ) . then ( ( result ) => {
110- expect ( result . code ) . to . eq ( 0 ) ;
110+ expect ( result . exitCode ) . to . eq ( 0 ) ;
111111 expect ( result . stdout ) . to . contain ( 'yay it works' ) ;
112112 } ) ;
113113 } ) ;
You can’t perform that action at this time.
0 commit comments