mirror of
https://github.com/zebrajr/express.git
synced 2026-01-15 12:15:27 +00:00
misc
This commit is contained in:
@@ -20,8 +20,8 @@ describe('res', function(){
|
||||
})
|
||||
})
|
||||
|
||||
describe('when relative from the host', function(){
|
||||
it('should construct an absolute url', function(done){
|
||||
describe('with leading /', function(){
|
||||
it('should construct host-relative urls', function(done){
|
||||
var app = express();
|
||||
|
||||
app.use(function(req, res){
|
||||
@@ -38,8 +38,8 @@ describe('res', function(){
|
||||
})
|
||||
})
|
||||
|
||||
describe('when relative from the mount-point', function(){
|
||||
it('should construct an absolute url', function(done){
|
||||
describe('without leading /', function(){
|
||||
it('should construct mount-point relative urls', function(done){
|
||||
var app = express();
|
||||
|
||||
app.use(function(req, res){
|
||||
|
||||
Reference in New Issue
Block a user