From b403ce1e62bcd1bedb96fcf76449cc6ea8db7594 Mon Sep 17 00:00:00 2001 From: fmtabbara Date: Thu, 5 Aug 2021 14:25:52 +0100 Subject: [PATCH] add test --- wallet-web/components/bond/BondNodeForm.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/wallet-web/components/bond/BondNodeForm.test.ts b/wallet-web/components/bond/BondNodeForm.test.ts index 31e3b1a9f0..ef544bac5b 100644 --- a/wallet-web/components/bond/BondNodeForm.test.ts +++ b/wallet-web/components/bond/BondNodeForm.test.ts @@ -26,6 +26,7 @@ test('correctly validates ipv6', () => { ) expect(isValidHostname('::1111:2222:3333:4444:5555:6666::')).toBe(false) expect(isValidHostname('3ffe:b00::1::a')).toBe(false) + expect(isValidHostname('?.?.?')).toBe(false) }) test('correctly validates hostnames', () => {