Skip to content

Commit

Permalink
test: remove superfluous return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku committed Feb 13, 2022
1 parent b2861c6 commit 50b8ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/injector.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ describe('injector', function() {
const injector = new Injector([ module ]);
function fn(foo, bar) {
expect(foo).to.equal(injector.get('foo'));
return expect(bar).to.equal(injector.get('bar'));
expect(bar).to.equal(injector.get('bar'));
}
const annotatedFn = [ 'foo', 'bar', fn ];

Expand Down

0 comments on commit 50b8ba9

Please sign in to comment.