test(proxy): refine signature test text
This commit is contained in:
1 parent
20fffff29c
commit
50a325be11
1 file changed
+2
-2
@@ -15,8 +15,8 @@ describe('decodeSignature', () => {
|
||||
expect(decodeSignature(base64)).toBe(original);
|
||||
});
|
||||
|
||||
it('should decode UTF-8 Chinese signature', () => {
|
||||
const original = '思考签名-测试';
|
||||
it('should decode UTF-8 signature text', () => {
|
||||
const original = 'thinking-signature-test-utf8';
|
||||
const base64 = Buffer.from(original).toString('base64');
|
||||
expect(decodeSignature(base64)).toBe(original);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user