Skip to content
Myr

regression.js

This file

Path

test/regression.js

19 lines · 364 bytes · JavaScript

Last changed by

Not known.

History of this file

Take 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 back
1
2var 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})