updating based on last review

This commit is contained in:
ppisljar 2017-02-15 10:15:08 +01:00
parent 51aaecdb94
commit 5d37d20fb8

View file

@ -69,8 +69,16 @@ dataTypesArray.forEach(function (dataType, i) {
});
});
it('should stack values', function () {
expect(isStacked).to.be(mode === 'stacked' || mode === 'percentage');
it('should stack values when mode is stacked', function () {
if (mode === 'stacked') {
expect(isStacked).to.be(true);
}
});
it('should stack values when mode is percentage', function () {
if (mode === 'percentage') {
expect(isStacked).to.be(true);
}
});
});