Commit 78b60315 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'vs-migrate-jobs-to-jest' into 'master'

Migrate ee/jobs to Jest

Closes #194293

See merge request gitlab-org/gitlab!27149
parents c738ea03 4e4141c4
import component from 'ee/jobs/components/shared_runner_limit_block.vue';
import { createLocalVue, shallowMount } from '@vue/test-utils';
import SharedRunnerLimitBlock from 'ee/jobs/components/shared_runner_limit_block.vue';
import { shallowMount } from '@vue/test-utils';
import { GlButton } from '@gitlab/ui';
import { trimText } from 'spec/helpers/text_helper';
const localVue = createLocalVue();
import { trimText } from 'helpers/text_helper';
describe('Shared Runner Limit Block', () => {
let wrapper;
const Component = localVue.extend(component);
const runnersPath = 'root/project/runners';
const projectPath = 'h5bp/html5-boilerplate';
const subscriptionsMoreMinutesUrl = 'https://customers.gitlab.com/buy_pipeline_minutes';
const factory = (options = {}) => {
wrapper = shallowMount(Component, {
localVue,
wrapper = shallowMount(SharedRunnerLimitBlock, {
...options,
});
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment