@@ -43,7 +43,6 @@
"autoprefixer": "9.1.3",
"babel-polyfill": "^6.26.0",
"clipboard": "2.0.1",
- "google-code-prettify": "1.0.5",
"highlight.js": "^9.13.1",
"postcss-loader": "3.0.0",
"vue": "2.5.17",
@@ -24,7 +24,7 @@ describe('Rating.vue', () => {
it('点击评分', () => {
wrapper.findAll('.nut-rating-item').at(2).trigger('click');
- expect(wrapper.findAll('.nut-rating-item').at(4).is('.nut-rating-active')).toBe(true)
+ expect(wrapper.findAll('.nut-rating-item').at(2).is('.nut-rating-active')).toBe(true)
});