From 8c3d6f1005f8d75ea41e3fb1256007f57a9b2f1e Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Sat, 5 Mar 2022 16:22:39 +1100 Subject: [PATCH] Fix test for free account sign up message Seems the page changed. I've made the test look for fewer words and without case sensitivity. It's good to test that this happens, but not super important what's on the page. --- test/ngrok.guest.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ngrok.guest.spec.js b/test/ngrok.guest.spec.js index a433366..4f1144b 100644 --- a/test/ngrok.guest.spec.js +++ b/test/ngrok.guest.spec.js @@ -248,7 +248,7 @@ describe("guest.spec.js - ensuring no authtoken set", function () { }); it("should return an ngrok message to sign up", function () { - expect(respBody).to.match(/Sign up for an ngrok account/); + expect(respBody).to.match(/sign up/i); }); }); });