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:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-07-27 00:08:38 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-07-27 00:08:38 +0300
commit936d15143b786f841bf0ee8e2458215ee010f33e (patch)
treef850c872c4d0328358ebdec10a343e8c63e519ce /spec/frontend/runner
parentf57f1c6cd8a89454bb8a4a1b965738dcc8007d5d (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/runner')
-rw-r--r--spec/frontend/runner/group_runners/group_runners_app_spec.js21
1 files changed, 21 insertions, 0 deletions
diff --git a/spec/frontend/runner/group_runners/group_runners_app_spec.js b/spec/frontend/runner/group_runners/group_runners_app_spec.js
new file mode 100644
index 00000000000..06329686a00
--- /dev/null
+++ b/spec/frontend/runner/group_runners/group_runners_app_spec.js
@@ -0,0 +1,21 @@
+import { shallowMount } from '@vue/test-utils';
+import RunnerTypeHelp from '~/runner/components/runner_type_help.vue';
+import GroupRunnersApp from '~/runner/group_runners/group_runners_app.vue';
+
+describe('GroupRunnersApp', () => {
+ let wrapper;
+
+ const findRunnerTypeHelp = () => wrapper.findComponent(RunnerTypeHelp);
+
+ const createComponent = ({ mountFn = shallowMount } = {}) => {
+ wrapper = mountFn(GroupRunnersApp);
+ };
+
+ beforeEach(() => {
+ createComponent();
+ });
+
+ it('shows the runner type help', () => {
+ expect(findRunnerTypeHelp().exists()).toBe(true);
+ });
+});