Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Commit

Permalink
chore(deps): update dependency teeny-request to v5 (#745)
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicKramer authored Aug 20, 2019
1 parent ddc3629 commit ea59132
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"proxyquire": "^2.0.0",
"require-inject": "^1.4.3",
"source-map-support": "^0.5.6",
"teeny-request": "^4.0.0",
"teeny-request": "^5.0.0",
"typescript": "~3.5.0",
"uuid": "^3.3.2"
}
Expand Down
4 changes: 2 additions & 2 deletions test/test-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import * as nock from 'nock';
import {Debug} from '../src/client/stackdriver/debug';
import {Debuggee} from '../src/debuggee';
import * as stackdriver from '../src/types/stackdriver';
import * as r from 'request'; // types only
import * as t from 'teeny-request'; // types only
import {teenyRequest} from 'teeny-request';

// the tests in this file rely on the GCLOUD_PROJECT environment variable
Expand All @@ -31,7 +31,7 @@ import {Controller} from '../src/agent/controller';
// TODO: Fix fakeDebug to actually implement Debug.
const fakeDebug = ({
apiEndpoint: `clouddebugger.googleapis.com`,
request: (options: r.Options, cb: r.RequestCallback) => {
request: (options: t.Options, cb: t.RequestCallback) => {
teenyRequest(options, (err, r) => {
cb(err, r ? r.body : undefined, r);
});
Expand Down

0 comments on commit ea59132

Please sign in to comment.