mirror of
https://github.com/microsoft/TypeScript-Node-Starter.git
synced 2025-11-08 16:17:37 +00:00
Merge pull request #31 from kevguy/test-fix
fix: fix lint warnings for test files
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import {} from 'jest';
|
||||
import * as supertest from "supertest";
|
||||
import {default as app} from "../src/server";
|
||||
|
||||
const request = supertest("http://localhost:8000");
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import {} from 'jest';
|
||||
import * as supertest from "supertest";
|
||||
const request = supertest("http://localhost:8000");
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import {} from 'jest';
|
||||
import * as supertest from "supertest";
|
||||
const request = supertest("http://localhost:8000");
|
||||
|
||||
@@ -6,4 +7,4 @@ describe("GET /contact", () => {
|
||||
request.get("/contact")
|
||||
.expect(200, done);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import {} from 'jest';
|
||||
import * as supertest from "supertest";
|
||||
const request = supertest("http://localhost:8000");
|
||||
|
||||
@@ -6,4 +7,4 @@ describe("GET /", () => {
|
||||
request.get("/")
|
||||
.expect(200, done);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import {} from 'jest';
|
||||
import * as supertest from "supertest";
|
||||
const request = supertest("http://localhost:8000");
|
||||
|
||||
@@ -13,4 +14,4 @@ describe("GET /signup", () => {
|
||||
request.get("/signup")
|
||||
.expect(200, done);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user