Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #31 from kevguy/test-fix
Browse files Browse the repository at this point in the history
fix: fix lint warnings for test files
  • Loading branch information
Bowden Kelly authored Aug 1, 2017
2 parents 5c9d4e6 + 269e0f0 commit 9490498
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/api.test.ts
Original file line number Diff line number Diff line change
@@ -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");

Expand Down
1 change: 1 addition & 0 deletions test/app.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import {} from 'jest';
import * as supertest from "supertest";
const request = supertest("http://localhost:8000");

Expand Down
3 changes: 2 additions & 1 deletion test/contact.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import {} from 'jest';
import * as supertest from "supertest";
const request = supertest("http://localhost:8000");

Expand All @@ -6,4 +7,4 @@ describe("GET /contact", () => {
request.get("/contact")
.expect(200, done);
});
});
});
3 changes: 2 additions & 1 deletion test/home.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import {} from 'jest';
import * as supertest from "supertest";
const request = supertest("http://localhost:8000");

Expand All @@ -6,4 +7,4 @@ describe("GET /", () => {
request.get("/")
.expect(200, done);
});
});
});
3 changes: 2 additions & 1 deletion test/user.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import {} from 'jest';
import * as supertest from "supertest";
const request = supertest("http://localhost:8000");

Expand All @@ -13,4 +14,4 @@ describe("GET /signup", () => {
request.get("/signup")
.expect(200, done);
});
});
});

0 comments on commit 9490498

Please sign in to comment.