Explorar o código

fix switch test

Leopoldthecoder %!s(int64=8) %!d(string=hai) anos
pai
achega
0c2248b013
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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');
   });