@sprucelabs/data-stores 28.3.254 → 28.3.256
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.
@@ -1170,7 +1170,7 @@ const databaseAssertUtil = {
|
|
1170
1170
|
},
|
1171
1171
|
assertThrowsWithInvalidConnectionString(connect) {
|
1172
1172
|
return __awaiter(this, void 0, void 0, function* () {
|
1173
|
-
const err = yield assert.doesThrowAsync(() => connect(
|
1173
|
+
const err = yield assert.doesThrowAsync(() => connect(generateId()));
|
1174
1174
|
errorAssert.assertError(err, 'INVALID_DB_CONNECTION_STRING');
|
1175
1175
|
});
|
1176
1176
|
},
|
@@ -1069,7 +1069,7 @@ const databaseAssertUtil = {
|
|
1069
1069
|
test_utils_2.errorAssert.assertError(err, 'UNABLE_TO_CONNECT_TO_DB');
|
1070
1070
|
},
|
1071
1071
|
async assertThrowsWithInvalidConnectionString(connect) {
|
1072
|
-
const err = await test_utils_1.assert.doesThrowAsync(() => connect(
|
1072
|
+
const err = await test_utils_1.assert.doesThrowAsync(() => connect((0, generateId_1.default)()));
|
1073
1073
|
test_utils_2.errorAssert.assertError(err, 'INVALID_DB_CONNECTION_STRING');
|
1074
1074
|
},
|
1075
1075
|
async assertKnowsIfConnectionClosed(connect) {
|