File tree 2 files changed +0
-26
lines changed
2 files changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,6 @@ describe('samples', () => {
31
31
assert . match ( output , / D N S I n f o : / ) ;
32
32
} ) ;
33
33
34
- it . skip ( 'should acquire compute credentials' , async ( ) => {
35
- // TODO: need to figure out deploying to GCF for this to work
36
- const output = execSync ( 'node compute' ) ;
37
- assert . match ( output , / D N S I n f o : / ) ;
38
- } ) ;
39
-
40
34
it ( 'should create a JWT' , async ( ) => {
41
35
const output = execSync ( 'node jwt' ) ;
42
36
assert . match ( output , / D N S I n f o : / ) ;
Original file line number Diff line number Diff line change @@ -161,24 +161,4 @@ describe('transporters', () => {
161
161
}
162
162
) ;
163
163
} ) ;
164
-
165
- // tslint:disable-next-line ban
166
- it . skip ( 'should use the https proxy if one is configured' , async ( ) => {
167
- process . env [ 'https_proxy' ] = 'https://han:solo@proxy-server:1234' ;
168
- const transporter = new DefaultTransporter ( ) ;
169
- const scope = nock ( 'https://proxy-server:1234' )
170
- . get ( 'https://example.com/fake' , undefined , {
171
- reqheaders : {
172
- host : 'example.com' ,
173
- accept : / .* / g,
174
- 'user-agent' : / g o o g l e - a p i - n o d e j s - c l i e n t \/ .* / g,
175
- 'proxy-authorization' : / .* / g,
176
- } ,
177
- } )
178
- . reply ( 200 ) ;
179
- const url = 'https://example.com/fake' ;
180
- const result = await transporter . request ( { url} ) ;
181
- scope . done ( ) ;
182
- assert . strictEqual ( result . status , 200 ) ;
183
- } ) ;
184
164
} ) ;
You can’t perform that action at this time.
0 commit comments