File tree Expand file tree Collapse file tree 3 files changed +571
-476
lines changed
src/components/form-rating Expand file tree Collapse file tree 3 files changed +571
-476
lines changed Original file line number Diff line number Diff line change 111111 "autoprefixer" : " ^9.7.6" ,
112112 "babel-core" : " ^7.0.0-bridge.0" ,
113113 "babel-eslint" : " ^10.1.0" ,
114- "babel-jest" : " ^25.5.1 " ,
114+ "babel-jest" : " ^26.0.0 " ,
115115 "babel-plugin-istanbul" : " ^6.0.0" ,
116116 "bootstrap-icons" : " ^1.0.0-alpha3" ,
117117 "bundlewatch" : " ^0.2.6" ,
138138 "html-loader" : " ^1.1.0" ,
139139 "husky" : " ^4.2.5" ,
140140 "improved-yarn-audit" : " ^2.0.0" ,
141- "jest" : " ^25.5.4 " ,
141+ "jest" : " ^26.0.0 " ,
142142 "jest-environment-jsdom-fourteen" : " ^1.0.1" ,
143143 "lint-staged" : " ^10.2.2" ,
144144 "loader-utils" : " ^2.0.0" ,
Original file line number Diff line number Diff line change @@ -219,6 +219,7 @@ describe('form-rating', () => {
219219 it ( 'has expected structure when prop `show-value` set' , async ( ) => {
220220 const wrapper = mount ( BFormRating , {
221221 propsData : {
222+ locale : 'en' ,
222223 showValue : true ,
223224 value : '3.5' ,
224225 precision : 2
@@ -255,6 +256,7 @@ describe('form-rating', () => {
255256 it ( 'has expected structure when prop `show-value` and `show-value-max` are set' , async ( ) => {
256257 const wrapper = mount ( BFormRating , {
257258 propsData : {
259+ locale : 'en' ,
258260 showValue : true ,
259261 showValueMax : true ,
260262 value : '3.5' ,
@@ -293,6 +295,7 @@ describe('form-rating', () => {
293295 const wrapper = mount ( BFormRating , {
294296 attachToDocument : true ,
295297 propsData : {
298+ locale : 'en' ,
296299 showValue : true ,
297300 disabled : false ,
298301 value : '3.5' ,
@@ -351,6 +354,7 @@ describe('form-rating', () => {
351354 it ( 'keyboard navigation works' , async ( ) => {
352355 const wrapper = mount ( BFormRating , {
353356 propsData : {
357+ locale : 'en' ,
354358 showValue : true ,
355359 value : null
356360 }
You can’t perform that action at this time.
0 commit comments