diff options
Diffstat (limited to 'spec/frontend/feature_flags/components/strategies/default_spec.js')
-rw-r--r-- | spec/frontend/feature_flags/components/strategies/default_spec.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/frontend/feature_flags/components/strategies/default_spec.js b/spec/frontend/feature_flags/components/strategies/default_spec.js new file mode 100644 index 00000000000..1315cd7d735 --- /dev/null +++ b/spec/frontend/feature_flags/components/strategies/default_spec.js @@ -0,0 +1,10 @@ +import { shallowMount } from '@vue/test-utils'; +import Default from '~/feature_flags/components/strategies/default.vue'; + +describe('~/feature_flags/components/strategies/default.vue', () => { + it('should emit an empty parameter object on mount', () => { + const wrapper = shallowMount(Default); + + expect(wrapper.emitted('change')).toEqual([[{ parameters: {} }]]); + }); +}); |