summaryrefslogtreecommitdiff
path: root/spec/frontend/snippets/components/__snapshots__/snippet_description_edit_spec.js.snap
blob: 334ceaa064f9b5d0c0d75d89e5c7628d6e4be7dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Snippet Description Edit component rendering matches the snapshot 1`] = `
<div
  class="form-group js-description-input"
>
  <label>
    Description (optional)
  </label>
   
  <div
    class="js-collapsible-input"
  >
    <div
      class="js-collapsed d-none"
    >
      <gl-form-input-stub
        class="form-control"
        data-qa-selector="description_placeholder"
        placeholder="Optionally add a description about what your snippet does or how to use it…"
      />
    </div>
     
    <markdown-field-stub
      addspacingclasses="true"
      canattachfile="true"
      class="js-expanded"
      enableautocomplete="true"
      helppagepath=""
      markdowndocspath="help/"
      markdownpreviewpath="foo/"
      note="[object Object]"
      quickactionsdocspath=""
      textareavalue=""
    >
      <textarea
        aria-label="Description"
        class="note-textarea js-gfm-input js-autosize markdown-area
          qa-description-textarea"
        data-supports-quick-actions="false"
        dir="auto"
        placeholder="Write a comment or drag your files here…"
      />
    </markdown-field-stub>
  </div>
</div>
`;