We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13f4f20 commit ce12bf5Copy full SHA for ce12bf5
test/unit/firestore.js
@@ -219,7 +219,7 @@ describe('MockFirestore', function () {
219
220
return awaitChecks;
221
});
222
-
+
223
context('when "batch.commit" is not called', function () {
224
afterEach(function () {
225
db.doc('col/batch-foo').delete();
@@ -232,7 +232,7 @@ describe('MockFirestore', function () {
232
batch.set(db.doc('col/batch-foo'), { foo: 'fooo' });
233
batch.set(db.doc('col/batch-bar'), { bar: 'barr' });
234
235
- expect(function () { db.flush(); }).to.throw(Error);
+ expect(function () { db.flush(); }).to.throw('No deferred tasks to be flushed');
236
237
var promises = [
238
db.doc('col/batch-foo').get(),
0 commit comments