fix(deps)!: mime-types@^3.0.0 (#5882)
[express.git] / test / acceptance / hello-world.js
blobdb90349c496c73a4efcf6cadf5d8097437769b87
2 var app = require('../../examples/hello-world')
3 var request = require('supertest')
5 describe('hello-world', function () {
6 describe('GET /', function () {
7 it('should respond with hello world', function (done) {
8 request(app)
9 .get('/')
10 .expect(200, 'Hello World', done)
14 describe('GET /missing', function () {
15 it('should respond with 404', function (done) {
16 request(app)
17 .get('/missing')
18 .expect(404, done)