Commit 4e4141c4 authored by Vitaly Slobodin's avatar Vitaly Slobodin
parent c943774f
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