diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-17 14:33:21 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-17 14:33:21 +0300 |
commit | 7021455bd1ed7b125c55eb1b33c5a01f2bc55ee0 (patch) | |
tree | 5bdc2229f5198d516781f8d24eace62fc7e589e9 /spec/frontend/content_editor/markdown_snapshot_spec.js | |
parent | 185b095e93520f96e9cfc31d9c3e69b498cdab7c (diff) |
Add latest changes from gitlab-org/gitlab@15-6-stable-eev15.6.0-rc42
Diffstat (limited to 'spec/frontend/content_editor/markdown_snapshot_spec.js')
-rw-r--r-- | spec/frontend/content_editor/markdown_snapshot_spec.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/spec/frontend/content_editor/markdown_snapshot_spec.js b/spec/frontend/content_editor/markdown_snapshot_spec.js index 63ca66172e6..146208bf8c7 100644 --- a/spec/frontend/content_editor/markdown_snapshot_spec.js +++ b/spec/frontend/content_editor/markdown_snapshot_spec.js @@ -1,10 +1,11 @@ -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); +// +// NOTE: Unlike the backend markdown_snapshot_spec.rb which has a CE and EE version, there is only +// one version of this spec. This is because the frontend markdown rendering does not require EE-only +// backend features. +describeMarkdownSnapshots('markdown example snapshots in ContentEditor'); |