From 45715f15f10b68fd513cc318200d80cbf3cd6739 Mon Sep 17 00:00:00 2001 From: Arnaud Buchholz Date: Thu, 19 Dec 2024 07:08:12 -0500 Subject: [PATCH] chores: code review feedback --- test/storage/storages.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/storage/storages.ts b/test/storage/storages.ts index 68856e6e..33a8006e 100644 --- a/test/storage/storages.ts +++ b/test/storage/storages.ts @@ -37,7 +37,7 @@ export function testStorage(name: string, storage: AxiosStorage): void { data: { ...EMPTY_RESPONSE, data: 'data' } }); - storage.clear && (await storage.clear()); + await storage.clear?.(); const result4 = await storage.get('key');