From b035d225244e76361b9372edb3fd64f036fee2b7 Mon Sep 17 00:00:00 2001 From: Joel Alenchery Date: Thu, 24 Jun 2021 17:45:54 +0530 Subject: [PATCH] Add unit test for normalize:true case --- test/index.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/test/index.js b/test/index.js index 0fd5372..339af1f 100644 --- a/test/index.js +++ b/test/index.js @@ -71,6 +71,19 @@ const INPUTS = [ , search: "" } ] + , [ + ["http://ionicabizau.net/with-true-normalize", true] + , { + protocols: [ "http" ] + , protocol: "http" + , port: null + , resource: "ionicabizau.net" + , user: "" + , pathname: "/with-true-normalize" + , hash: "" + , search: "" + } + ] ]; tester.describe("check urls", test => {