Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus committed Nov 7, 2016
1 parent 137e831 commit cc69be9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/bigquery/src/job.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
'use strict';

var common = require('@google-cloud/common');
var events = require('events');
var is = require('is');
var util = require('util');

Expand Down Expand Up @@ -144,12 +143,11 @@ function Job(bigQuery, id) {
getMetadata: true
};

var self = this;

common.Operation.call(this, {
parent: bigQuery,
baseUrl: '/jobs',
id: id
id: id,
methods: methods
});

this.bigQuery = bigQuery;
Expand Down
5 changes: 5 additions & 0 deletions packages/bigquery/test/job.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ describe('BigQuery/Job', function() {
assert.strictEqual(calledWith.parent, BIGQUERY);
assert.strictEqual(calledWith.baseUrl, '/jobs');
assert.strictEqual(calledWith.id, JOB_ID);
assert.deepEqual(calledWith.methods, {
exists: true,
get: true,
getMetadata: true
});
});

describe('request interceptor', function() {
Expand Down

0 comments on commit cc69be9

Please sign in to comment.