remove stray redis dependency, and upgrade node in tests (#173)

* remove stray redis dependency in test
* tweak handling of database connection between tests
* upgrade node versions in tests, type guessing in node 10 has problems
This commit is contained in:
Paul Fitzpatrick
2022-03-28 15:43:47 -04:00
committed by GitHub
parent c41c07e4d0
commit 24522e61ff
7 changed files with 17 additions and 7 deletions

View File

@@ -604,8 +604,7 @@ export function setUpDB(context?: IHookCallbackContext) {
async function main() {
const cmd = process.argv[2];
if (cmd === 'init') {
const connection = await createConnection();
await createInitialDb(connection);
await createInitialDb();
return;
} else if (cmd === 'benchmark') {
const connection = await createConnection();