MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / fakeCredentialsForTest

Function fakeCredentialsForTest

lib/aws.ts:41–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

_setup-fake-aws.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected