Skip to content

Commit 9d17f36

Browse files
committed
fix test code identation
1 parent 1fce229 commit 9d17f36

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

test/server.test.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ describe("Graphql test", () => {
2323
});
2424
it("Get Hi, content-type application/graphql", (done: jest.DoneCallback) => {
2525
request(app)
26-
.post("/graphql")
27-
.set("Content-Type", "application/graphql; charset=UTF-8")
28-
.send("{hi}")
29-
.expect(200)
30-
.end((err, res: request.Response) => {
31-
expect(err).toBeNull();
32-
expect(res.body).toEqual(result);
33-
// res.body.should.to.deep.equal(result);
34-
done();
26+
.post("/graphql")
27+
.set("Content-Type", "application/graphql; charset=UTF-8")
28+
.send("{hi}")
29+
.expect(200)
30+
.end((err, res: request.Response) => {
31+
expect(err).toBeNull();
32+
expect(res.body).toEqual(result);
33+
// res.body.should.to.deep.equal(result);
34+
done();
3535
});
3636
});
3737
it("Check headers", (done: jest.DoneCallback) => {

0 commit comments

Comments
 (0)