Skip to content

Commit

Permalink
fix(tests): fix ttl test
Browse files Browse the repository at this point in the history
  • Loading branch information
Juiced66 committed Dec 20, 2024
1 parent c2eee74 commit 03fdec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/init.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 03fdec7

Please sign in to comment.