@sprucelabs/data-stores 28.1.340 → 28.1.341
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -805,7 +805,7 @@ const databaseAssertUtil = {
|
|
805
805
|
['someField'],
|
806
806
|
]);
|
807
807
|
indexes = yield db.getUniqueIndexes(this.collectionName);
|
808
|
-
assert.isLength(indexes, 2, 'There should still be 2 indexes after
|
808
|
+
assert.isLength(indexes, 2, 'There should still be 2 indexes after this syncUniqueIndexs(). First sync was a single field unique index, second sync was two indexes, but one was already there. So one should have been ignored, one should have been added.');
|
809
809
|
yield this.shutdown(db);
|
810
810
|
});
|
811
811
|
},
|
@@ -734,7 +734,7 @@ const databaseAssertUtil = {
|
|
734
734
|
['someField'],
|
735
735
|
]);
|
736
736
|
indexes = await db.getUniqueIndexes(this.collectionName);
|
737
|
-
test_utils_1.assert.isLength(indexes, 2, 'There should still be 2 indexes after
|
737
|
+
test_utils_1.assert.isLength(indexes, 2, 'There should still be 2 indexes after this syncUniqueIndexs(). First sync was a single field unique index, second sync was two indexes, but one was already there. So one should have been ignored, one should have been added.');
|
738
738
|
await this.shutdown(db);
|
739
739
|
},
|
740
740
|
async assertCantDropCompoundUniqueIndexThatDoesntExist(connect) {
|