regression.js
This file
Path
test/regression.js
20 lines · 377 bytes · JavaScript
Last changed by
Not known.
History of this fileTake it
The walk stopped after 200 commits: lines older than 2027b87 point at it.
fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87
lines 1–20why, one step back1'use strict'23var express = require('../')4 , request = require('supertest');56describe('throw after .end()', function(){7 it('should fail gracefully', function(done){8 var app = express();910 app.get('/', function(req, res){11 res.end('yay');12 throw new Error('boom');13 });1415 request(app)16 .get('/')17 .expect('yay')18 .expect(200, done);19 })20})