fix: Fix AWS credential test (no-changelog) (#9653)

This commit is contained in:
Elias Meire 2024-06-06 15:02:58 +02:00 committed by GitHub
parent f7198e3734
commit 58cfd2fde8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,7 @@ describe('Aws Credential', () => {
expect(aws.name).toBe('aws');
expect(aws.displayName).toBe('AWS');
expect(aws.documentationUrl).toBe('aws');
expect(aws.icon).toBe('file:icons/AWS.svg');
expect(aws.icon).toEqual({ light: 'file:icons/AWS.svg', dark: 'file:icons/AWS.dark.svg' });
expect(aws.properties.length).toBeGreaterThan(0);
expect(aws.test.request.baseURL).toBe('=https://sts.{{$credentials.region}}.amazonaws.com');
expect(aws.test.request.url).toBe('?Action=GetCallerIdentity&Version=2011-06-15');