test: remove redudant test case (#956)

This commit is contained in:
Martin Iwanowski 2017-04-13 07:41:38 +02:00 committed by jongleberry
parent efb05d2836
commit 3721f6be0b

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