From d7ed1196bdd44d7734d41d91a5e72a71785e0a08 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 5 Jan 2023 02:09:07 +0100 Subject: switched to single quotes string in eslint --- tests/root.spec.js | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'tests/root.spec.js') diff --git a/tests/root.spec.js b/tests/root.spec.js index 308d35c..34a8328 100644 --- a/tests/root.spec.js +++ b/tests/root.spec.js @@ -1,36 +1,36 @@ -import { beforeEach, describe, it } from "vitest"; -import supertest from "supertest"; +import { beforeEach, describe, it } from 'vitest'; +import supertest from 'supertest'; -import app from "../main.js"; +import app from '../main.js'; const request = supertest(app); -describe.concurrent("Root handlers tests", function() { - describe.concurrent("When not logged in", function() { - it("GET /", async function() { await request.get("/").expect("Content-Type", /text\/plain/).expect(302, /Redirecting to \/login$/); }); - it("GET /login", async function() { await request.get("/login").expect("Content-Type", /text\/html/).expect(200, /