diff --git a/src/components/timepicker/Timepicker.spec.js b/src/components/timepicker/Timepicker.spec.js index 32f5bb744..36b6e3f50 100644 --- a/src/components/timepicker/Timepicker.spec.js +++ b/src/components/timepicker/Timepicker.spec.js @@ -6,6 +6,11 @@ let wrapper describe('BTimepicker', () => { beforeEach(() => { wrapper = shallowMount(BTimepicker, { + props: { + // fixes the locale, and hour format to avoid flaky tests + locale: 'en-US', + hourFormat: '24' + }, global: { stubs: { // these components must not be stubs