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

@@ -5,13 +5,11 @@ import {
buildEvent,
buildUser,
} from "@server/test/factories";
import { getTestServer, setCloudHosted } from "@server/test/support";
import { getTestServer } from "@server/test/support";
const server = getTestServer();
describe("#events.list", () => {
beforeEach(setCloudHosted);
it("should only return activity events", async () => {
const user = await buildUser();
const admin = await buildAdmin({ teamId: user.teamId });