6 , url = require('node:url');
7
8▶describe('res', function(){
9 describe('.location(url)', function(){
10 it('should set the header', function(done){
· · ·
9▶ describe('.location(url)', function(){
10 it('should set the header', function(done){
11 var app = express();
· · ·
10▶ it('should set the header', function(done){
11 var app = express();
12
· · ·
13▶ app.use(function(req, res){
14 res.location('http://google.com/').end();
15 });
· · ·
21 })
22
23▶ it('should preserve trailing slashes when not present', function(done){
24 var app = express();
25
+ 46 more matches in this file