DRY up and clean up GLFM fixtures
- Extract common fixture setup to new shared context - Move shared contexts to common glfm directory - Renaming files for consistency - Clean up and improve some file reading and other logic MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/96325
显示
- doc/development/gitlab_flavored_markdown/specification_guide/index.md 77 个添加, 2 个删除...ent/gitlab_flavored_markdown/specification_guide/index.md
- ee/spec/requests/api/markdown_snapshot_spec.rb 10 个添加, 0 个删除ee/spec/requests/api/markdown_snapshot_spec.rb
- glfm_specification/example_snapshots/examples_index.yml 18 个添加, 0 个删除glfm_specification/example_snapshots/examples_index.yml
- glfm_specification/example_snapshots/html.yml 42 个添加, 0 个删除glfm_specification/example_snapshots/html.yml
- glfm_specification/example_snapshots/markdown.yml 12 个添加, 0 个删除glfm_specification/example_snapshots/markdown.yml
- glfm_specification/example_snapshots/prosemirror_json.yml 12 个添加, 0 个删除glfm_specification/example_snapshots/prosemirror_json.yml
- glfm_specification/input/gitlab_flavored_markdown/glfm_canonical_examples.txt 61 个添加, 0 个删除...nput/gitlab_flavored_markdown/glfm_canonical_examples.txt
- glfm_specification/input/gitlab_flavored_markdown/glfm_example_metadata.yml 14 个添加, 0 个删除.../input/gitlab_flavored_markdown/glfm_example_metadata.yml
- glfm_specification/input/gitlab_flavored_markdown/glfm_example_status.yml 36 个添加, 0 个删除...on/input/gitlab_flavored_markdown/glfm_example_status.yml
- glfm_specification/output/spec.txt 61 个添加, 0 个删除glfm_specification/output/spec.txt
- scripts/glfm/run-snapshot-tests.sh 5 个添加, 1 个删除scripts/glfm/run-snapshot-tests.sh
- scripts/lib/glfm/constants.rb 6 个添加, 2 个删除scripts/lib/glfm/constants.rb
- scripts/lib/glfm/render_static_html.rb 6 个添加, 21 个删除scripts/lib/glfm/render_static_html.rb
- scripts/lib/glfm/update_example_snapshots.rb 30 个添加, 24 个删除scripts/lib/glfm/update_example_snapshots.rb
- spec/requests/api/markdown_snapshot_spec.rb 1 个添加, 3 个删除spec/requests/api/markdown_snapshot_spec.rb
- spec/scripts/lib/glfm/parse_examples_spec.rb 4 个添加, 4 个删除spec/scripts/lib/glfm/parse_examples_spec.rb
- spec/scripts/lib/glfm/update_example_snapshots_spec.rb 277 个添加, 29 个删除spec/scripts/lib/glfm/update_example_snapshots_spec.rb
- spec/scripts/lib/glfm/update_specification_spec.rb 11 个添加, 10 个删除spec/scripts/lib/glfm/update_specification_spec.rb
- spec/support/shared_contexts/glfm/api_markdown_snapshot_shared_context.rb 13 个添加, 21 个删除...red_contexts/glfm/api_markdown_snapshot_shared_context.rb
- spec/support/shared_contexts/glfm/example_snapshot_fixtures.rb 27 个添加, 0 个删除...support/shared_contexts/glfm/example_snapshot_fixtures.rb
加载中
想要评论请 注册 或 登录