Skip to content

Commit

Permalink
Fix jscs style regression
Browse files Browse the repository at this point in the history
  • Loading branch information
Marten Schilstra committed Jan 28, 2017
1 parent 436c68c commit 53a1715
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/helpers/module-for-acceptance.js
Expand Up @@ -11,12 +11,12 @@ export default function(name, options = {}) {
this.application = startApp();

if (options.beforeEach) {
return options.beforeEach.apply(this, arguments);
return options.beforeEach.call(this, ...arguments);
}
},

afterEach() {
let afterEach = options.afterEach && options.afterEach.apply(this, arguments);
let afterEach = options.afterEach && options.afterEach.call(this, ...arguments);
return Promise.resolve(afterEach).then(() => destroyApp(this.application));
}
});
Expand Down

0 comments on commit 53a1715

Please sign in to comment.