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

learn_gitlab_trial_card_spec.js « components « learn_gitlab « projects « pages « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6ab57e31fed330e675b03f8cd1a7117463c44173 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import { shallowMount } from '@vue/test-utils';
import IncludedInTrialIndicator from '~/pages/projects/learn_gitlab/components/included_in_trial_indicator.vue';

describe('Learn GitLab Trial Card', () => {
  it('renders correctly', () => {
    const wrapper = shallowMount(IncludedInTrialIndicator);

    expect(wrapper.text()).toEqual('- Included in trial');

    wrapper.destroy();
  });
});