From 477f5762248a9f74897f578a1c9076b314ce55f8 Mon Sep 17 00:00:00 2001 From: Rajat Saxena Date: Sat, 3 Feb 2024 20:47:50 +0530 Subject: [PATCH 1/2] Testing the automation setup --- apps/api/__tests__/apikey/handlers.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/__tests__/apikey/handlers.test.ts b/apps/api/__tests__/apikey/handlers.test.ts index 2b4a536f..58e4a2c8 100644 --- a/apps/api/__tests__/apikey/handlers.test.ts +++ b/apps/api/__tests__/apikey/handlers.test.ts @@ -21,7 +21,7 @@ describe("API key test suite", () => { assert.strictEqual(response.error, "Name is required"); }); - test("Create API succeeds if name is provided", async (t) => { + test("Create API succeeds if name is provided.", async (t) => { const req = { body: { name: "Test API", From a7721ea8dc08984b63b6299c6425a11ae890676d Mon Sep 17 00:00:00 2001 From: Rajat Saxena Date: Sat, 3 Feb 2024 22:05:52 +0530 Subject: [PATCH 2/2] fixing glob pattern --- apps/api/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/package.json b/apps/api/package.json index 412ed87b..59db4b90 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -28,7 +28,7 @@ "build": "tsc", "dev": "nodemon lib/index.ts", "start": "node dist/index.js", - "test": "node --import tsx --test **/*.test.ts" + "test": "node --import tsx --test '**/*.test.ts'" }, "dependencies": { "@aws-sdk/client-s3": "^3.55.0",