This PR moves the entire project to Typescript. Due to the ~1000 ignores this will lead to a messy codebase for a while, but the churn is worth it – all of those ignore comments are places that were never type-safe previously. closes #1282
12 lines
374 B
TypeScript
12 lines
374 B
TypeScript
import "../env";
|
|
|
|
// test environment variables
|
|
process.env.DATABASE_URL = process.env.DATABASE_URL_TEST;
|
|
process.env.NODE_ENV = "test";
|
|
process.env.GOOGLE_CLIENT_ID = "123";
|
|
process.env.SLACK_KEY = "123";
|
|
process.env.DEPLOYMENT = "";
|
|
process.env.ALLOWED_DOMAINS = "allowed-domain.com";
|
|
// This is needed for the relative manual mock to be picked up
|
|
jest.mock("../queues");
|