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

@@ -2163,7 +2163,8 @@ function testDocApi() {
assert.deepEqual(response.data, {error: `Exceeded daily limit for document ${docId}`});
});
after(async () => {
after(async function() {
if (!process.env.TEST_REDIS_URL) { this.skip(); }
await redisClient.quitAsync();
});
});