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

markdown_snapshot_spec.js « content_editor « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 63ca66172e65664cc459a4de0560a4e25fab8b83 (plain)
1
2
3
4
5
6
7
8
9
10
import path from 'path';
import { describeMarkdownSnapshots } from 'jest/content_editor/markdown_snapshot_spec_helper';

jest.mock('~/emoji');

const glfmSpecificationDir = path.join(__dirname, '..', '..', '..', 'glfm_specification');

// See https://docs.gitlab.com/ee/development/gitlab_flavored_markdown/specification_guide/#markdown-snapshot-testing
// for documentation on this spec.
describeMarkdownSnapshots('CE markdown snapshots in ContentEditor', glfmSpecificationDir);