debian-mirror-gitlab/spec/frontend/feature_flags/components/strategies/default_spec.js
2021-01-30 21:13:32 +05:30

10 lines
380 B
JavaScript

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: {} }]]);
});
});