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

Commit

Permalink
fix: fix the unit tests (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored Dec 12, 2018
1 parent 1f9431c commit a741efd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ package-lock.json
build
package-lock.json
__pycache__
.coverage
.nyc_output
2 changes: 1 addition & 1 deletion test/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ describe('gcs-resumable-upload', () => {
const scope = nock(REQ_OPTS.url).get(queryPath).reply(200);
up.getRequestStream(
REQ_OPTS, (requestStream: stream.Readable&{callback: Function}) => {
assert.strictEqual(requestStream.callback.toString(), '() => { }');
assert.strictEqual(typeof requestStream.callback, 'function');
done();
});
});
Expand Down

0 comments on commit a741efd

Please sign in to comment.