test: remove redudant test case (#956)

master
Martin Iwanowski 2017-04-13 07:41:38 +02:00 committed by jongleberry
parent efb05d2836
commit 3721f6be0b
1 changed files with 0 additions and 6 deletions

View File

@ -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!');
});
});