Skip to content

Commit

Permalink
resolve merge conflicts and fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Chen committed Apr 29, 2020
1 parent 9e466b2 commit 118c524
Show file tree
Hide file tree
Showing 9 changed files with 93 additions and 311 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@ build/
system-test/secrets.js
system-test/*key.json
*.lock
<<<<<<< HEAD
=======
build/
package-lock.json
>>>>>>> master
.DS_Store
package-lock.json
__pycache__
386 changes: 91 additions & 295 deletions dev/protos/firestore_v1_proto_api.js

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions dev/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,7 @@ import {Timestamp} from './timestamp';
import {parseGetAllArguments, Transaction} from './transaction';
import {
ApiMapValue,
<<<<<<< HEAD
=======
BulkWriterOptions,
DocumentData,
>>>>>>> master
FirestoreStreamingMethod,
FirestoreUnaryMethod,
GapicClient,
Expand Down
2 changes: 0 additions & 2 deletions dev/src/rate-limiter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
*/
import * as assert from 'assert';

import {Timestamp} from './timestamp';

/**
* A helper that uses the Token Bucket algorithm to rate limit the number of
* operations that can be made in a second.
Expand Down
2 changes: 0 additions & 2 deletions dev/src/write-batch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
* limitations under the License.
*/

import * as assert from 'assert';

import {google} from '../protos/firestore_v1_proto_api';
import {
DocumentMask,
Expand Down
1 change: 1 addition & 0 deletions dev/test/bulk-writer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

import {describe, it, beforeEach, afterEach} from 'mocha';
import {expect} from 'chai';
import {Status} from 'google-gax';

Expand Down
2 changes: 0 additions & 2 deletions dev/test/gapic_firestore_v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,6 @@ describe('v1.FirestoreClient', () => {
new protos.google.firestore.v1.WriteRequest()
);
request.database = '';
const expectedHeaderRequestParams = 'database=';
const expectedError = new Error('expected');
client.innerApiCalls.write = stubBidiStreamingCall(
undefined,
Expand Down Expand Up @@ -1349,7 +1348,6 @@ describe('v1.FirestoreClient', () => {
new protos.google.firestore.v1.ListenRequest()
);
request.database = '';
const expectedHeaderRequestParams = 'database=';
const expectedError = new Error('expected');
client.innerApiCalls.listen = stubBidiStreamingCall(
undefined,
Expand Down
2 changes: 0 additions & 2 deletions dev/test/gapic_firestore_v1beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1263,7 +1263,6 @@ describe('v1beta1.FirestoreClient', () => {
new protos.google.firestore.v1beta1.WriteRequest()
);
request.database = '';
const expectedHeaderRequestParams = 'database=';
const expectedError = new Error('expected');
client.innerApiCalls.write = stubBidiStreamingCall(
undefined,
Expand Down Expand Up @@ -1353,7 +1352,6 @@ describe('v1beta1.FirestoreClient', () => {
new protos.google.firestore.v1beta1.ListenRequest()
);
request.database = '';
const expectedHeaderRequestParams = 'database=';
const expectedError = new Error('expected');
client.innerApiCalls.listen = stubBidiStreamingCall(
undefined,
Expand Down
1 change: 1 addition & 0 deletions dev/test/rate-limiter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

import {describe, it, beforeEach} from 'mocha';
import {expect} from 'chai';

import {RateLimiter} from '../src/rate-limiter';
Expand Down

0 comments on commit 118c524

Please sign in to comment.