Skip to content

Commit d41bbb8

Browse files
renovate[bot]renovate-botjacobmllr95
authored
chore(deps): update jest monorepo to v26 (major) (#5298)
* chore(deps): update jest monorepo to v26 * Update form-rating.spec.js Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>
1 parent 1e0ea9b commit d41bbb8

File tree

3 files changed

+571
-476
lines changed

3 files changed

+571
-476
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
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",
@@ -138,7 +138,7 @@
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",

src/components/form-rating/form-rating.spec.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)