update error message to be the one sent from AWS sdk
Signed-off-by: Jonah Back <jonah@jonahback.com>
This commit is contained in:
+3
-1
@@ -46,6 +46,8 @@ describe('AwsIamKubernetesAuthTranslator tests', () => {
|
||||
url: '',
|
||||
authProvider: 'aws',
|
||||
});
|
||||
await expect(promise).rejects.toThrow('no AWS credentials found.');
|
||||
await expect(promise).rejects.toThrow(
|
||||
'Could not load credentials from any providers',
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user