You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`isNull(value: unknown): value is null` - Type guard that checks if a value is null and narrows the type
126
128
-`sleep(ms: number): Promise<void>` - Pauses execution for a specified number of milliseconds
127
129
-`copyToClipboard(text: string): Promise<boolean>` - Copies text to the user's clipboard. Uses modern Clipboard API with fallback to legacy execCommand method. Returns true if successful, false if failed.
130
+
-`encodeBase64(str: string, options?: { convertSpecialChars?: boolean }): string` - Encodes a string to Base64 format with optional special character handling
131
+
-`decodeBase64(str: string, options?: { convertSpecialChars?: boolean }): string` - Decodes a Base64 string back to original text with optional special character handling
<testcaseclassname="package/commonUtil/encodeBase64/indes.test.ts"name="encodeBase64 유틸 함수 테스트 > 정상적인 문자열을 Base64로 인코딩해야 한다"time="0.000807042">
5
+
</testcase>
6
+
<testcaseclassname="package/commonUtil/encodeBase64/indes.test.ts"name="encodeBase64 유틸 함수 테스트 > 빈 문자열을 인코딩하면 빈 문자열을 반환해야 한다"time="0.000093625">
7
+
</testcase>
8
+
<testcaseclassname="package/commonUtil/encodeBase64/indes.test.ts"name="encodeBase64 유틸 함수 테스트 > 특수 문자가 포함된 문자열을 올바르게 인코딩해야 한다"time="0.000173709">
9
+
</testcase>
10
+
<testcaseclassname="package/commonUtil/encodeBase64/indes.test.ts"name="encodeBase64 유틸 함수 테스트 > 유니코드 문자가 포함된 문자열을 올바르게 인코딩해야 한다"time="0.000156042">
11
+
</testcase>
12
+
<testcaseclassname="package/commonUtil/encodeBase64/indes.test.ts"name="encodeBase64 유틸 함수 테스트 > null 또는 undefined를 인코딩하면 그대로 반환해야 한다"time="0.000235916">
13
+
</testcase>
14
+
<testcaseclassname="package/commonUtil/encodeBase64/indes.test.ts"name="encodeBase64 유틸 함수 테스트 > 한글이 들어오면 올바르게 인코딩해야 한다"time="0.000069459">
<testcaseclassname="package/commonUtil/copyToClipboard/index.test.ts"name="copyToClipboard > 성공 케이스 > 최신 Clipboard API를 사용하여 성공적으로 복사한다"time="0.001617584">
0 commit comments