Skip to content

Commit 655dab8

Browse files
author
Brian Chen
committed
fix test
1 parent e985292 commit 655dab8

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -589,18 +589,6 @@ apiDescribe('Validation:', (persistence: boolean) => {
589589
});
590590
});
591591

592-
validationIt(
593-
persistence,
594-
'validates CollectionReference.add with correct function name',
595-
db => {
596-
const coll = db.collection('foo');
597-
598-
expect(() => coll.add(new TestClass('foo'))).to.throw(
599-
'Function CollectionReference.add() called with invalid data.'
600-
);
601-
}
602-
);
603-
604592
validationIt(persistence, 'must not contain undefined.', db => {
605593
// Note: This test uses the default setting for `ignoreUndefinedProperties`.
606594
return expectWriteToFail(

0 commit comments

Comments
 (0)