Fixed test

pull/6885/head
Lukasz Balcerzak 2017-09-05 21:50:54 +02:00 committed by 杨奕
parent 40c204d3d6
commit 0adc0c0812
1 changed files with 1 additions and 2 deletions

View File

@ -123,8 +123,7 @@ describe('Rate', () => {
vm.muted = true;
vm.$nextTick(() => {
const thirdIcon = vm.$el.querySelectorAll('.el-rate__item')[2].querySelector('.el-rate__icon');
//expect(thirdIcon.style.color).to.equal('rgb(153, 153, 153)');
expect(thirdIcon.style.color).to.equal('rgb(0, 0, 0)');
expect(thirdIcon.style.color).to.equal('rgb(153, 153, 153)');
done();
});
}, 10);