fix: Import max length not correctly communicated on import (#5434)

This commit is contained in:
Tom Moor
2023-06-17 08:52:57 +01:00
committed by GitHub
parent 9d04d5ebd9
commit 9ef375d83c
6 changed files with 81 additions and 61 deletions

View File

@@ -9,9 +9,6 @@ jest.mock("bull");
// This is needed for the relative manual mock to be picked up
jest.mock("../queues");
// Avoid "Yjs was already imported" errors in the test environment
jest.mock("yjs");
// We never want to make real S3 requests in test environment
jest.mock("aws-sdk", () => {
const mS3 = {
@@ -26,6 +23,4 @@ jest.mock("aws-sdk", () => {
};
});
jest.mock("@getoutline/y-prosemirror", () => ({}));
afterAll(() => Redis.defaultClient.disconnect());