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

Commit ed149eb

Browse files
author
Bowden Kelly
authored
Merge pull request #31 from kevguy/test-fix
fix: fix lint warnings for test files
2 parents 5cd9602 + c80e236 commit ed149eb

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

test/api.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import {} from 'jest';
12
import * as supertest from "supertest";
2-
import {default as app} from "../src/server";
33

44
const request = supertest("http://localhost:8000");
55

test/app.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import {} from 'jest';
12
import * as supertest from "supertest";
23
const request = supertest("http://localhost:8000");
34

test/contact.test.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import {} from 'jest';
12
import * as supertest from "supertest";
23
const request = supertest("http://localhost:8000");
34

@@ -6,4 +7,4 @@ describe("GET /contact", () => {
67
request.get("/contact")
78
.expect(200, done);
89
});
9-
});
10+
});

test/home.test.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import {} from 'jest';
12
import * as supertest from "supertest";
23
const request = supertest("http://localhost:8000");
34

@@ -6,4 +7,4 @@ describe("GET /", () => {
67
request.get("/")
78
.expect(200, done);
89
});
9-
});
10+
});

test/user.test.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import {} from 'jest';
12
import * as supertest from "supertest";
23
const request = supertest("http://localhost:8000");
34

@@ -13,4 +14,4 @@ describe("GET /signup", () => {
1314
request.get("/signup")
1415
.expect(200, done);
1516
});
16-
});
17+
});

0 commit comments

Comments
 (0)