summaryrefslogtreecommitdiff
path: root/spec/frontend/monitoring/__snapshots__/alert_widget_spec.js.snap
blob: 2a8ce1d3f30b6d48bd16e713a93672b5906f4bbb (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
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`AlertWidget Alert firing displays a warning icon and matches snapshot 1`] = `
<gl-badge-stub
  class="d-flex-center text-truncate"
  size="md"
  variant="danger"
>
  <gl-icon-stub
    class="flex-shrink-0"
    name="warning"
    size="16"
  />
   
  <span
    class="text-truncate gl-pl-2"
  >
    Firing: 
            alert-label &gt; 42
          
  </span>
</gl-badge-stub>
`;

exports[`AlertWidget Alert not firing displays a warning icon and matches snapshot 1`] = `
<gl-badge-stub
  class="d-flex-center text-truncate"
  size="md"
  variant="neutral"
>
  <gl-icon-stub
    class="flex-shrink-0"
    name="warning"
    size="16"
  />
   
  <span
    class="text-truncate gl-pl-2"
  >
    alert-label &gt; 42
  </span>
</gl-badge-stub>
`;