Leopoldthecoder преди 8 години
родител
ревизия
0c2248b013
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      test/unit/specs/switch.spec.js

+ 1 - 1
test/unit/specs/switch.spec.js

@@ -18,7 +18,7 @@ describe('Switch', () => {
     });
 
     const core = vm.$el.querySelector('.el-switch__core');
-    expect(core.style.backgroundColor).to.equal('rgb(0, 255, 0)');
+    expect(core.style.backgroundColor).to.equal('rgb(255, 0, 0)');
     expect(core.style.width).to.equal('100px');
     expect(vm.$el.querySelector('.el-switch__label--left').querySelector('span').textContent).to.equal('on');
   });