()
| 39 | } |
| 40 | |
| 41 | export function fakeCredentialsForTest() { |
| 42 | cachedCredentials = async () => { |
| 43 | return { |
| 44 | accessKeyId: 'not-a-real-key', |
| 45 | secretAccessKey: 'not-a-real-secret', |
| 46 | }; |
| 47 | }; |
| 48 | } |
| 49 | |
| 50 | async function initialiseAwsCredentials(region: string) { |
| 51 | if (!cachedCredentials) { |