Fix eslint no-unused-expressions in tests
[MAILPOET-1085]
This commit is contained in:
@@ -276,7 +276,7 @@ define([
|
||||
});
|
||||
|
||||
it('listens to the event', function () {
|
||||
expect(onStub).to.have.been.calledOnce;
|
||||
expect(onStub).to.have.been.callCount(1);
|
||||
expect(onStub).to.have.been.calledWith('replaceAllButtonStyles', sinon.match.func);
|
||||
});
|
||||
|
||||
@@ -290,7 +290,7 @@ define([
|
||||
}
|
||||
};
|
||||
callback(data);
|
||||
expect(model.set).to.have.been.calledOnce;
|
||||
expect(model.set).to.have.been.callCount(1);
|
||||
expect(model.set).to.have.been.calledWithExactly(data);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user