Skip to content

Commit 2e32eeb

Browse files
authored
Firestore: Improve test name of "missing index" error message tests (#7875)
1 parent 50b2182 commit 2e32eeb

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.changeset/long-rats-walk.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ apiDescribe('Count queries', persistence => {
132132
// and will, therefore, never fail in this situation.
133133
// eslint-disable-next-line no-restricted-properties
134134
(USE_EMULATOR ? it.skip : it)(
135-
'getCountFromServer error message is good if missing index',
135+
'getCountFromServer error message contains console link if missing index',
136136
() => {
137137
return withEmptyTestCollection(persistence, async coll => {
138138
const query_ = query(
@@ -344,7 +344,7 @@ apiDescribe('Aggregation queries', persistence => {
344344
// and will, therefore, never fail in this situation.
345345
// eslint-disable-next-line no-restricted-properties
346346
(USE_EMULATOR ? it.skip : it)(
347-
'getAggregateFromServer error message is good if missing index',
347+
'getAggregateFromServer error message contains console link good if missing index',
348348
() => {
349349
return withEmptyTestCollection(persistence, async coll => {
350350
const query_ = query(

packages/firestore/test/lite/integration.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2406,7 +2406,7 @@ describe('Count queries', () => {
24062406
// and will, therefore, never fail in this situation.
24072407
// eslint-disable-next-line no-restricted-properties
24082408
(USE_EMULATOR ? it.skip : it)(
2409-
'getCount error message is good if missing index',
2409+
'getCount error message contains console link if missing index',
24102410
() => {
24112411
return withTestCollection(async coll => {
24122412
const query_ = query(
@@ -2715,7 +2715,7 @@ describe('Aggregate queries', () => {
27152715
// and will, therefore, never fail in this situation.
27162716
// eslint-disable-next-line no-restricted-properties
27172717
(USE_EMULATOR ? it.skip : it)(
2718-
'getAggregate error message is good if missing index',
2718+
'getAggregate error message contains console link if missing index',
27192719
() => {
27202720
return withTestCollection(async coll => {
27212721
const query_ = query(

0 commit comments

Comments
 (0)