From 71a17696eb1892eca4647036564e66d4f0a1c2f5 Mon Sep 17 00:00:00 2001 From: dswbx Date: Fri, 31 Oct 2025 17:44:37 +0100 Subject: [PATCH] fix ".only" tests --- app/__test__/App.spec.ts | 2 +- app/__test__/app/repro.spec.ts | 2 +- app/src/core/drivers/email/resend.spec.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/__test__/App.spec.ts b/app/__test__/App.spec.ts index 7213216..589bd73 100644 --- a/app/__test__/App.spec.ts +++ b/app/__test__/App.spec.ts @@ -108,7 +108,7 @@ describe("App tests", async () => { expect(Array.from(app.plugins.keys())).toEqual(["test"]); }); - test.only("drivers", async () => { + test("drivers", async () => { const called: string[] = []; const app = new App(dummyConnection, undefined, { drivers: { diff --git a/app/__test__/app/repro.spec.ts b/app/__test__/app/repro.spec.ts index 54ff7e2..fc099bb 100644 --- a/app/__test__/app/repro.spec.ts +++ b/app/__test__/app/repro.spec.ts @@ -76,7 +76,7 @@ describe("repros", async () => { expect(app.em.entities.map((e) => e.name)).toEqual(["media", "test"]); }); - test.only("verify inversedBy", async () => { + test("verify inversedBy", async () => { const schema = proto.em( { products: proto.entity("products", { diff --git a/app/src/core/drivers/email/resend.spec.ts b/app/src/core/drivers/email/resend.spec.ts index 5c1cfcf..04d005a 100644 --- a/app/src/core/drivers/email/resend.spec.ts +++ b/app/src/core/drivers/email/resend.spec.ts @@ -4,7 +4,7 @@ import { resendEmail } from "./resend"; const ALL_TESTS = !!process.env.ALL_TESTS; describe.skipIf(ALL_TESTS)("resend", () => { - it.only("should throw on failed", async () => { + it("should throw on failed", async () => { const driver = resendEmail({ apiKey: "invalid" } as any); expect(driver.send("foo@bar.com", "Test", "Test")).rejects.toThrow(); });