test: Architecture XSS

This commit is contained in:
Sidharth Vinod
2025-08-05 22:30:45 +05:30
parent 8090580c67
commit 526b35c602
2 changed files with 13 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ interface CodeObject {
mermaid: CypressMermaidConfig;
}
const utf8ToB64 = (str: string): string => {
export const utf8ToB64 = (str: string): string => {
return Buffer.from(decodeURIComponent(encodeURIComponent(str))).toString('base64');
};