test: remove redudant test case (#956)
This commit is contained in:
parent
efb05d2836
commit
3721f6be0b
1 changed files with 0 additions and 6 deletions
|
@ -120,10 +120,4 @@ describe('app.use(fn)', () => {
|
|||
const app = new Koa();
|
||||
app.use(function * (){});
|
||||
});
|
||||
|
||||
it('should throw error for non function', () => {
|
||||
const app = new Koa();
|
||||
|
||||
(() => app.use('not a function')).should.throw('middleware must be a function!');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue