Skip to content

Commit

Permalink
add addtional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seyi-adeleke committed Feb 28, 2018
1 parent 14e05fa commit 9c44e40
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions spec/server-spec.js
Expand Up @@ -4,6 +4,16 @@ const URL = require('../server/models/url');


describe("Server Spec", () => {
describe('*', () => {
it("returns the react client", (done) => {
request(app)
.post('/')
.end((err, res) => {
expect(res.status).toBe(200);
done();
});
});
});
describe("GET /", () => {
it("returns status code 200", (done) => {
request(app)
Expand Down

0 comments on commit 9c44e40

Please sign in to comment.