Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/feature_flags/components/strategy_parameters_spec.js')
-rw-r--r--spec/frontend/feature_flags/components/strategy_parameters_spec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/feature_flags/components/strategy_parameters_spec.js b/spec/frontend/feature_flags/components/strategy_parameters_spec.js
index 979ca255b08..d0f1f7d0e2a 100644
--- a/spec/frontend/feature_flags/components/strategy_parameters_spec.js
+++ b/spec/frontend/feature_flags/components/strategy_parameters_spec.js
@@ -51,11 +51,11 @@ describe('~/feature_flags/components/strategy_parameters.vue', () => {
});
it('should show the correct component', () => {
- expect(wrapper.find(component).exists()).toBe(true);
+ expect(wrapper.findComponent(component).exists()).toBe(true);
});
it('should emit changes from the lower component', () => {
- const strategyParameterWrapper = wrapper.find(component);
+ const strategyParameterWrapper = wrapper.findComponent(component);
strategyParameterWrapper.vm.$emit('change', { parameters: { foo: 'bar' } });
@@ -77,7 +77,7 @@ describe('~/feature_flags/components/strategy_parameters.vue', () => {
strategy,
});
- expect(wrapper.find(UsersWithId).props('strategy')).toEqual(strategy);
+ expect(wrapper.findComponent(UsersWithId).props('strategy')).toEqual(strategy);
});
});
});