feat: Add navigation sidebar to shared documents (#2899)

Co-authored-by: Tom Moor <tom@getoutline.com>
This commit is contained in:
Nan Yu
2022-01-14 19:02:01 -08:00
committed by GitHub
parent 2ad32e5009
commit 71820fb3ad
18 changed files with 408 additions and 158 deletions

View File

@@ -1,5 +1,4 @@
import "../env";
import "@server/database/sequelize";
// test environment variables
process.env.DATABASE_URL = process.env.DATABASE_URL_TEST;
@@ -9,6 +8,10 @@ process.env.SLACK_KEY = "123";
process.env.DEPLOYMENT = "";
process.env.ALLOWED_DOMAINS = "allowed-domain.com";
// NOTE: this require must come after the ENV var override above
// so that sequelize uses the test config variables
require("@server/database/sequelize");
// This is needed for the relative manual mock to be picked up
jest.mock("../queues");