Commit 74004ff
committed
test(firestore): Enable
Enables the `forceIndex` tests. They set the `forceIndex` option to
`"primary"` and simply assert that the snapshot contains an expected
number of documents, and that the stage option has the `forceIndex` set
as expected.
Question: Is there a better way to validate that the request correctly
used the index specified by `forceIndex`?forceIndex tests1 parent 87d5cc1 commit 74004ff
2 files changed
Lines changed: 28 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6011 | 6011 | | |
6012 | 6012 | | |
6013 | 6013 | | |
6014 | | - | |
6015 | | - | |
6016 | | - | |
| 6014 | + | |
6017 | 6015 | | |
6018 | 6016 | | |
6019 | 6017 | | |
6020 | | - | |
| 6018 | + | |
6021 | 6019 | | |
6022 | 6020 | | |
| 6021 | + | |
| 6022 | + | |
| 6023 | + | |
| 6024 | + | |
| 6025 | + | |
6023 | 6026 | | |
6024 | 6027 | | |
6025 | 6028 | | |
6026 | | - | |
6027 | | - | |
6028 | | - | |
| 6029 | + | |
6029 | 6030 | | |
6030 | 6031 | | |
6031 | 6032 | | |
6032 | | - | |
| 6033 | + | |
6033 | 6034 | | |
6034 | 6035 | | |
| 6036 | + | |
| 6037 | + | |
| 6038 | + | |
| 6039 | + | |
| 6040 | + | |
6035 | 6041 | | |
6036 | 6042 | | |
6037 | 6043 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5883 | 5883 | | |
5884 | 5884 | | |
5885 | 5885 | | |
5886 | | - | |
5887 | | - | |
5888 | | - | |
| 5886 | + | |
5889 | 5887 | | |
5890 | 5888 | | |
5891 | 5889 | | |
5892 | | - | |
| 5890 | + | |
5893 | 5891 | | |
5894 | 5892 | | |
| 5893 | + | |
| 5894 | + | |
| 5895 | + | |
| 5896 | + | |
| 5897 | + | |
5895 | 5898 | | |
5896 | 5899 | | |
5897 | 5900 | | |
5898 | | - | |
5899 | | - | |
5900 | | - | |
| 5901 | + | |
5901 | 5902 | | |
5902 | 5903 | | |
5903 | 5904 | | |
5904 | | - | |
| 5905 | + | |
5905 | 5906 | | |
5906 | 5907 | | |
| 5908 | + | |
| 5909 | + | |
| 5910 | + | |
| 5911 | + | |
| 5912 | + | |
5907 | 5913 | | |
5908 | 5914 | | |
5909 | 5915 | | |
| |||
0 commit comments