fix: correct proxy string label displaying on dashboard

This commit is contained in:
divocat
2025-10-07 20:34:38 +03:00
parent 72b2a34af9
commit 48c8f01d2f
7 changed files with 35 additions and 21 deletions

View File

@@ -52,12 +52,12 @@ describe('validateDomain', () => {
});
describe.each(dotTLDTests)(
'Dot TLD toggle: %s',
(_desc, domain, allowDotTLD, expected) => {
it(`"${domain}" with allowDotTLD=${allowDotTLD} → valid=${expected}`, () => {
const res = validateDomain(domain, allowDotTLD);
expect(res.valid).toBe(expected);
});
},
'Dot TLD toggle: %s',
(_desc, domain, allowDotTLD, expected) => {
it(`"${domain}" with allowDotTLD=${allowDotTLD} → valid=${expected}`, () => {
const res = validateDomain(domain, allowDotTLD);
expect(res.valid).toBe(expected);
});
},
);
});