Fix eslint no-unused-expressions in tests

[MAILPOET-1085]
This commit is contained in:
Pavel Dohnal
2017-09-06 15:41:41 +01:00
parent 72c0a6f165
commit 4e508855fc
6 changed files with 12 additions and 11 deletions

View File

@@ -254,8 +254,8 @@ define([
stub.restore();
spy.restore();
expect(spy.withArgs('loadingMorePosts').calledOnce).to.be.true;
expect(spy.withArgs('morePostsLoaded').calledOnce).to.be.true;
expect(spy.withArgs('loadingMorePosts').calledOnce).to.be.true;// eslint-disable-line no-unused-expressions
expect(spy.withArgs('morePostsLoaded').calledOnce).to.be.true;// eslint-disable-line no-unused-expressions
expect(model.get('_availablePosts').length).to.equal(3);
});
});