Skip to content

Commit 1f3bdec

Browse files
authored
Stop checking for detailed message in two tests. (#5032)
1 parent f037995 commit 1f3bdec

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

packages/firestore/test/integration/api/batch_writes.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,6 @@ apiDescribe('Database batch writes', (persistence: boolean) => {
231231
},
232232
err => {
233233
expect(err.message).to.exist;
234-
// TODO: Change this to just match "no document to update" once
235-
// the backend response is consistent.
236-
expect(err.message).to.match(/no (document|entity) to update/i);
237234
expect(err.code).to.equal('not-found');
238235
unsubscribe();
239236
}

packages/firestore/test/integration/api/database.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -470,9 +470,6 @@ apiDescribe('Database', (persistence: boolean) => {
470470
() => Promise.reject('update should have failed.'),
471471
err => {
472472
expect(err.message).to.exist;
473-
// TODO: Change this to just match "no document to update" once the
474-
// backend response is consistent.
475-
expect(err.message).to.match(/no (document|entity) to update/i);
476473
expect(err.code).to.equal('not-found');
477474
}
478475
)

0 commit comments

Comments
 (0)