fix: Failed to parse Surge/QX nodes with tls fingerprint

This commit is contained in:
Peng-YM
2022-07-02 22:53:09 +08:00
parent 606cfed8da
commit 7834fd6056
11 changed files with 46 additions and 14 deletions

View File

@@ -42,6 +42,12 @@ describe('Surge', function () {
const proxy = parser.parse(input.Surge);
expect(proxy).eql(expected);
});
it('test trojan + tls fingerprint', function () {
const { input, expected } = testcases.TROJAN.TLS_FINGERPRINT;
const proxy = parser.parse(input.Surge);
expect(proxy).eql(expected);
});
});
describe('vmess', function () {