debian-mirror-gitlab/spec/frontend/content_editor/markdown_snapshot_spec.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
480 B
JavaScript
Raw Normal View History

2022-08-13 15:12:31 +05:30
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);