From 43e57e0bf006ec9a613218f5246769d0cefba020 Mon Sep 17 00:00:00 2001 From: Jack Dunn <56315967+JackDunnCodes@users.noreply.github.com> Date: Tue, 9 Dec 2025 14:47:35 +0000 Subject: [PATCH] Add postcode and postalcode checks in tests --- tests/tests.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/tests.js b/tests/tests.js index 15ab3f8..a2e942f 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -61,6 +61,8 @@ async function testTotpFields() { [ '', { id: '2fa', type: 'text', maxLength: '4' }, 'Ignore if field maxLength too small', false ], [ '', { id: '2fa', type: 'text', maxLength: '12' }, 'Ignore if field maxLength too long', false ], [ '', { id: 'promocode', type: 'text', }, 'promocode id is not acceptable', false ], + [ '', { id: 'postcode', type: 'text', }, 'postcode id is not acceptable', false ], + [ '', { id: 'postalcode', type: 'text', }, 'postalcode id is not acceptable', false ], [ '', { id: 'Promotional Code', type: 'text', }, 'Promotional Code id is not acceptable', false ], [ '', { id: 'encode', type: 'text', }, 'encode id is not acceptable', false ], [ '', { id: 'encodedText', type: 'text', }, 'encodedText is not acceptable', false ],