chore: Refactoring event processors and service architecture (#2495)

This commit is contained in:
Tom Moor
2021-08-27 21:42:13 -07:00
committed by GitHub
parent 86f008293a
commit 28aef82af9
61 changed files with 1610 additions and 1498 deletions

View File

@ -1,5 +1,5 @@
// @flow
require("dotenv").config({ silent: true });
import "../env";
// test environment variables
process.env.DATABASE_URL = process.env.DATABASE_URL_TEST;
@ -10,4 +10,4 @@ process.env.DEPLOYMENT = "";
process.env.ALLOWED_DOMAINS = "allowed-domain.com";
// This is needed for the relative manual mock to be picked up
jest.mock("../events");
jest.mock("../queues");