Skip to content

Commit

Permalink
semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
ilearnio committed Aug 16, 2018
1 parent b4be171 commit eb40f8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/firestore.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ var processBatchQueue = function (queue) {
doc.delete();
}
});
}
};

MockFirestore.prototype.batch = function () {
var self = this;
Expand Down
6 changes: 3 additions & 3 deletions test/unit/firestore.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,13 +198,13 @@ describe('MockFirestore', function () {
batch.set(db.doc('col/batch-foo'), { foo: 'fooo' });
batch.set(db.doc('col/batch-bar'), { bar: 'barr' });

expect(function () { db.flush() }).to.throw(Error)
expect(function () { db.flush(); }).to.throw(Error);

var promises = [
db.doc('col/batch-foo').get(),
db.doc('col/batch-bar').get()
]
db.flush()
];
db.flush();

Promise.all(promises).then(function (docs) {
expect(docs[0].exists).to.eq(false);
Expand Down

0 comments on commit eb40f8d

Please sign in to comment.