From 03fdec7575421d3524f55e9998c6e124bb8fae54 Mon Sep 17 00:00:00 2001 From: Juiced66 Date: Fri, 20 Dec 2024 11:22:37 +0100 Subject: [PATCH] fix(tests): fix ttl test --- tests/unit/init.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/init.test.js b/tests/unit/init.test.js index 750553d..a6ae0a4 100644 --- a/tests/unit/init.test.js +++ b/tests/unit/init.test.js @@ -52,7 +52,7 @@ describe('S3Plugin - init', () => { plugin.init(customConfig, mockContext); // Verify that custom config is merged with default - expect(plugin.config.signedUrlTTL).toBe('10min'); + expect(plugin.config.signedUrlTTL).toBe(600000); expect(plugin.config.endpoints['eu-central-1']).toEqual(customConfig.endpoints['eu-central-1']); expect(plugin.config.endpoints['eu-west-1']).toEqual(plugin.defaultConfig.endpoints['eu-west-1']); // Default remains