no need to assign error in catch{}-able test
This commit is contained in:
parent
b2bcbcec7c
commit
e717733aa8
1 changed files with 0 additions and 1 deletions
|
@ -940,7 +940,6 @@ describe('app.respond', function(){
|
||||||
yield next;
|
yield next;
|
||||||
this.body = 'Hello';
|
this.body = 'Hello';
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
error = err;
|
|
||||||
this.body = 'Got error';
|
this.body = 'Got error';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue