MCPcopy Index your code
hub / github.com/simstudioai/sim / resetS3ClientForTesting

Function resetS3ClientForTesting

apps/sim/lib/uploads/providers/s3/client.ts:41–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39 * Reset the cached S3 client. Only intended for use in tests.
40 */
41export function resetS3ClientForTesting(): void {
42 _s3Client = null
43}
44
45export function getS3Client(): S3Client {
46 if (_s3Client) return _s3Client

Callers 1

client.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected