From 79d5ddbde288e56b02dd3475252e384f6af2881f Mon Sep 17 00:00:00 2001 From: Kir_Antipov Date: Thu, 11 Jan 2024 21:33:14 +0000 Subject: [PATCH] Fixed `platform-uploader` tests --- tests/unit/platforms/platform-uploader.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/platforms/platform-uploader.spec.ts b/tests/unit/platforms/platform-uploader.spec.ts index 89506f2..ece2b5e 100644 --- a/tests/unit/platforms/platform-uploader.spec.ts +++ b/tests/unit/platforms/platform-uploader.spec.ts @@ -14,6 +14,6 @@ describe("createPlatformUploader", () => { }); test("throws an error when an unknown platform is provided", () => { - expect(() => createPlatformUploader("unknown" as PlatformType, { githubContext: null })).toThrow("Unknown platform 'unknown'."); + expect(() => createPlatformUploader("unknown" as PlatformType, { githubContext: null })).toThrow(); }); });