Fix ManyFetches test so it checks TEST_REDIS_URL is set

pull/921/head
fflorent 2 months ago
parent a8e9a04f14
commit 45332ed001

@ -28,6 +28,12 @@ describe('ManyFetches', function() {
let docs: TestServer;
let userApi: UserAPIImpl;
before(function () {
if (!process.env.TEST_REDIS_URL) {
return this.skip();
}
});
beforeEach(async function() {
oldEnv = new EnvironmentSnapshot(); // Needed for prepareDatabase, which changes process.env
log.info("Starting servers");

Loading…
Cancel
Save