chore: More flakey test improvements (#5801)
This commit is contained in:
@@ -26,7 +26,7 @@ describe("ImportMarkdownZipTask", () => {
|
||||
expect(response.collections.size).toEqual(1);
|
||||
expect(response.documents.size).toEqual(8);
|
||||
expect(response.attachments.size).toEqual(6);
|
||||
});
|
||||
}, 10000);
|
||||
|
||||
it("should throw an error with corrupt zip", async () => {
|
||||
const fileOperation = await buildFileOperation();
|
||||
|
||||
@@ -4,7 +4,7 @@ import { buildInvite } from "@server/test/factories";
|
||||
import InviteReminderTask from "./InviteReminderTask";
|
||||
|
||||
describe("InviteReminderTask", () => {
|
||||
it("should not destroy documents not deleted", async () => {
|
||||
it("should send reminder emails", async () => {
|
||||
const spy = jest.spyOn(InviteReminderEmail.prototype, "schedule");
|
||||
|
||||
// too old
|
||||
|
||||
Reference in New Issue
Block a user