From 0c1146667f9acb34cc179bde8ff5a8d1046b3c4b Mon Sep 17 00:00:00 2001 From: Simon Dupree Date: Thu, 13 Sep 2018 17:44:02 +0100 Subject: [PATCH] routes tests fixed relates ># 18 --- test/routes.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/routes.test.js b/test/routes.test.js index d694bbe..1f7aca3 100644 --- a/test/routes.test.js +++ b/test/routes.test.js @@ -28,7 +28,7 @@ describe("Test the dashboard page", () => { describe("Test the challSelect page", () => { test("Expecting a 200 status return", done => { supertest(app) - .get("/challenge/") + .get("/challenges/:challenges/") .then(response => { expect(response.statusCode).toBe(200); done();