1
0
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:
Bowden Kelly
2017-07-31 18:23:56 -07:00
committed by GitHub
5 changed files with 8 additions and 4 deletions

View File

@@ -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");

View File

@@ -1,3 +1,4 @@
import {} from 'jest';
import * as supertest from "supertest";
const request = supertest("http://localhost:8000");

View File

@@ -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);
});
});
});

View File

@@ -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);
});
});
});

View File

@@ -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);
});
});
});