Welcome to mirror list, hosted at ThFree Co, Russian Federation.

code_instruction_spec.js.snap « __snapshots__ « registry « components « vue_shared « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ecea151fc8abee087933c87a93680535f20cf375 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Package code instruction multiline to match the snapshot 1`] = `
<div>
  <pre
    class="gl-font-monospace"
    data-testid="multiline-instruction"
  >
    this is some
multiline text
  </pre>
</div>
`;

exports[`Package code instruction single line to match the default snapshot 1`] = `
<div
  class="gl-mb-3"
>
  <label
    for="instruction-input_2"
  >
    foo_label
  </label>
   
  <div
    class="input-group gl-mb-3"
  >
    <input
      class="form-control gl-font-monospace"
      data-testid="instruction-input"
      id="instruction-input_2"
      readonly="readonly"
      type="text"
    />
     
    <span
      class="input-group-append"
      data-testid="instruction-button"
    >
      <button
        aria-label="Copy this value"
        class="btn input-group-text btn-default btn-md gl-button btn-default-secondary btn-icon"
        data-clipboard-text="npm i @my-package"
        title="Copy npm install command"
        type="button"
      >
        <!---->
         
        <svg
          class="gl-button-icon gl-icon s16"
          data-testid="copy-to-clipboard-icon"
        >
          <use
            href="#copy-to-clipboard"
          />
        </svg>
          
        <!---->
      </button>
    </span>
  </div>
</div>
`;