MCPcopy
hub / github.com/activepieces/activepieces / is-base64.test.ts

File is-base64.test.ts

packages/core/shared/test/common/is-base64.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { isBase64 } from '@activepieces/core-utils'
2
3const validBase64 = 'SGVsbG8gV29ybGQ=' // "Hello World"
4const validPngBase64 = 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg=='

Callers

nothing calls this directly

Calls 2

isBase64Function · 0.85
toStringMethod · 0.45

Tested by

no test coverage detected