From 770c6b0f298cc1101f23ff513a32d0b0d465112e Mon Sep 17 00:00:00 2001 From: Nathan Flurry Date: Wed, 3 Jul 2024 22:39:40 -0700 Subject: [PATCH] chore: update logging --- modules/uploads/tests/e2e.ts | 2 +- modules/uploads/tests/multipart.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/uploads/tests/e2e.ts b/modules/uploads/tests/e2e.ts index f82f242a..2b10f08d 100644 --- a/modules/uploads/tests/e2e.ts +++ b/modules/uploads/tests/e2e.ts @@ -8,7 +8,7 @@ import { getS3EnvConfig } from "../utils/env.ts"; test("e2e", async (ctx: TestContext) => { if (!getS3EnvConfig()) { - console.warn("S3 not configured"); + ctx.log.warn("s3 not configured"); return; } diff --git a/modules/uploads/tests/multipart.ts b/modules/uploads/tests/multipart.ts index 33b4d4f8..3c4ec6ef 100644 --- a/modules/uploads/tests/multipart.ts +++ b/modules/uploads/tests/multipart.ts @@ -20,7 +20,7 @@ function randomBuffer(size: number): Uint8Array { test("multipart uploads", async (ctx: TestContext) => { if (!getS3EnvConfig()) { - console.warn("S3 not configured"); + ctx.log.warn("s3 not configured"); return; }