Skip to content

Commit bf219c8

Browse files
authored
test: Remove Long-Skipped Tests (googleapis#1693)
1 parent d223a36 commit bf219c8

File tree

2 files changed

+0
-26
lines changed

2 files changed

+0
-26
lines changed

samples/test/jwt.test.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@ describe('samples', () => {
3131
assert.match(output, /DNS Info:/);
3232
});
3333

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, /DNS Info:/);
38-
});
39-
4034
it('should create a JWT', async () => {
4135
const output = execSync('node jwt');
4236
assert.match(output, /DNS Info:/);

test/test.transporters.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -161,24 +161,4 @@ describe('transporters', () => {
161161
}
162162
);
163163
});
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': /google-api-nodejs-client\/.*/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-
});
184164
});

0 commit comments

Comments
 (0)