regression.js
This file
Path
test/regression.js
19 lines · 364 bytes · JavaScript
Last changed by
Not known.
History of this fileTake it
The walk stopped after 200 commits: lines older than ad3ca25 point at it.
deps: qs@1.2.2Douglas Christopher Wilsonbefore adoptionad3ca25
lines 1–19why, one step back12var express = require('../')3 , request = require('supertest');45describe('throw after .end()', function(){6 it('should fail gracefully', function(done){7 var app = express();89 app.get('/', function(req, res){10 res.end('yay');11 throw new Error('boom');12 });1314 request(app)15 .get('/')16 .expect('yay')17 .expect(200, done);18 })19})