chore: More flakey test improvements (#5801)

This commit is contained in:
Tom Moor
2023-09-09 18:30:19 -04:00
committed by GitHub
parent 7270e65f0c
commit 80ef0a38d6
37 changed files with 245 additions and 210 deletions

View File

@@ -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