summaryrefslogtreecommitdiff
path: root/spec/frontend/content_editor/markdown_snapshot_spec.js
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);