diff options
Diffstat (limited to 'spec/frontend/monitoring/__snapshots__')
-rw-r--r-- | spec/frontend/monitoring/__snapshots__/alert_widget_spec.js.snap | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/spec/frontend/monitoring/__snapshots__/alert_widget_spec.js.snap b/spec/frontend/monitoring/__snapshots__/alert_widget_spec.js.snap new file mode 100644 index 00000000000..2179e7b4ab5 --- /dev/null +++ b/spec/frontend/monitoring/__snapshots__/alert_widget_spec.js.snap @@ -0,0 +1,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" + pill="" + variant="danger" +> + <gl-icon-stub + class="flex-shrink-0" + name="warning" + size="16" + /> + + <span + class="text-truncate gl-pl-1-deprecated-no-really-do-not-use-me" + > + Firing: + alert-label > 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" + pill="" + variant="secondary" +> + <gl-icon-stub + class="flex-shrink-0" + name="warning" + size="16" + /> + + <span + class="text-truncate gl-pl-1-deprecated-no-really-do-not-use-me" + > + alert-label > 42 + </span> +</gl-badge-stub> +`; |