mirror of
https://github.com/zebrajr/express.git
synced 2025-12-06 00:19:48 +01:00
fix(test): remove duplicate word (#6456)
Signed-off-by: dufucun <dufuchun@sohu.com>
This commit is contained in:
parent
5da5a11a49
commit
f9954dd317
|
|
@ -1156,7 +1156,7 @@ describe('app.router', function () {
|
||||||
assert.strictEqual(app.get('/', function () { }), app)
|
assert.strictEqual(app.get('/', function () { }), app)
|
||||||
})
|
})
|
||||||
|
|
||||||
it('should should not use disposed router/middleware', function (done) {
|
it('should not use disposed router/middleware', function (done) {
|
||||||
// more context: https://github.com/expressjs/express/issues/5743#issuecomment-2277148412
|
// more context: https://github.com/expressjs/express/issues/5743#issuecomment-2277148412
|
||||||
|
|
||||||
var app = express();
|
var app = express();
|
||||||
|
|
|
||||||
|
|
@ -237,7 +237,7 @@ function test(app) {
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('when no match is made', function(){
|
describe('when no match is made', function(){
|
||||||
it('should should respond with 406 not acceptable', function(done){
|
it('should respond with 406 not acceptable', function(done){
|
||||||
request(app)
|
request(app)
|
||||||
.get('/')
|
.get('/')
|
||||||
.set('Accept', 'foo/bar')
|
.set('Accept', 'foo/bar')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user