Created
December 9, 2016 16:57
-
-
Save iambryancs/7ea66cacffbb7eb47ba006515cb35c70 to your computer and use it in GitHub Desktop.
Sample test.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var request = require('supertest'); | |
var app = require('../app.js'); | |
describe('GET /', function() { | |
it('respond with hello world', function(done) { | |
request(app).get('/').expect('Hello World!', done); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment