Skip to content

Commit 0e25b67

Browse files
Test update
1 parent 869745c commit 0e25b67

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ apiDescribe('Validation:', (persistence: boolean) => {
242242
);
243243
expect(() => baseDocRef.collection('')).to.throw(
244244
`Function ${
245-
usesFunctionalApi() ? 'doc' : 'CollectionReference.doc'
245+
usesFunctionalApi() ? 'doc' : 'DocumentReference.doc'
246246
}() requires its ${argumentPosition} argument to be of type ` +
247247
'non-empty string, but it was: ""'
248248
);
@@ -252,7 +252,6 @@ apiDescribe('Validation:', (persistence: boolean) => {
252252
'Function Firestore.collection() requires its first argument ' +
253253
'to be of type non-empty string, but it was: null'
254254
);
255-
256255
expect(() => baseDocRef.collection(null as any)).to.throw(
257256
'Function DocumentReference.collection() requires its first ' +
258257
'argument to be of type non-empty string, but it was: null'

0 commit comments

Comments
 (0)