MCPcopy Create free account
hub / github.com/chartbrew/chartbrew / logoUploadSecurity.test.js

File logoUploadSecurity.test.js

server/tests/unit/logoUploadSecurity.test.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it } from "vitest";
2
3const {
4 MAX_LOGO_UPLOAD_SIZE_BYTES,

Callers

nothing calls this directly

Calls 4

isAllowedLogoMimeTypeFunction · 0.85
isValidLogoImageBufferFunction · 0.85
buildSafeLogoFilenameFunction · 0.85
resolveSafeUploadPathFunction · 0.85

Tested by

no test coverage detected