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 111
111
"autoprefixer" : " ^9.7.6" ,
112
112
"babel-core" : " ^7.0.0-bridge.0" ,
113
113
"babel-eslint" : " ^10.1.0" ,
114
- "babel-jest" : " ^25.5.1 " ,
114
+ "babel-jest" : " ^26.0.0 " ,
115
115
"babel-plugin-istanbul" : " ^6.0.0" ,
116
116
"bootstrap-icons" : " ^1.0.0-alpha3" ,
117
117
"bundlewatch" : " ^0.2.6" ,
138
138
"html-loader" : " ^1.1.0" ,
139
139
"husky" : " ^4.2.5" ,
140
140
"improved-yarn-audit" : " ^2.0.0" ,
141
- "jest" : " ^25.5.4 " ,
141
+ "jest" : " ^26.0.0 " ,
142
142
"jest-environment-jsdom-fourteen" : " ^1.0.1" ,
143
143
"lint-staged" : " ^10.2.2" ,
144
144
"loader-utils" : " ^2.0.0" ,
Original file line number Diff line number Diff line change @@ -219,6 +219,7 @@ describe('form-rating', () => {
219
219
it ( 'has expected structure when prop `show-value` set' , async ( ) => {
220
220
const wrapper = mount ( BFormRating , {
221
221
propsData : {
222
+ locale : 'en' ,
222
223
showValue : true ,
223
224
value : '3.5' ,
224
225
precision : 2
@@ -255,6 +256,7 @@ describe('form-rating', () => {
255
256
it ( 'has expected structure when prop `show-value` and `show-value-max` are set' , async ( ) => {
256
257
const wrapper = mount ( BFormRating , {
257
258
propsData : {
259
+ locale : 'en' ,
258
260
showValue : true ,
259
261
showValueMax : true ,
260
262
value : '3.5' ,
@@ -293,6 +295,7 @@ describe('form-rating', () => {
293
295
const wrapper = mount ( BFormRating , {
294
296
attachToDocument : true ,
295
297
propsData : {
298
+ locale : 'en' ,
296
299
showValue : true ,
297
300
disabled : false ,
298
301
value : '3.5' ,
@@ -351,6 +354,7 @@ describe('form-rating', () => {
351
354
it ( 'keyboard navigation works' , async ( ) => {
352
355
const wrapper = mount ( BFormRating , {
353
356
propsData : {
357
+ locale : 'en' ,
354
358
showValue : true ,
355
359
value : null
356
360
}
You can’t perform that action at this time.
0 commit comments