summaryrefslogtreecommitdiff
path: root/spec/frontend/ml/experiment_tracking/components/incubation_alert_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/ml/experiment_tracking/components/incubation_alert_spec.js')
-rw-r--r--spec/frontend/ml/experiment_tracking/components/incubation_alert_spec.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/spec/frontend/ml/experiment_tracking/components/incubation_alert_spec.js b/spec/frontend/ml/experiment_tracking/components/incubation_alert_spec.js
deleted file mode 100644
index 7dca360c7ee..00000000000
--- a/spec/frontend/ml/experiment_tracking/components/incubation_alert_spec.js
+++ /dev/null
@@ -1,27 +0,0 @@
-import { mount } from '@vue/test-utils';
-import { GlAlert, GlButton } from '@gitlab/ui';
-import IncubationAlert from '~/ml/experiment_tracking/components/incubation_alert.vue';
-
-describe('IncubationAlert', () => {
- let wrapper;
-
- const findAlert = () => wrapper.findComponent(GlAlert);
-
- const findButton = () => wrapper.findComponent(GlButton);
-
- beforeEach(() => {
- wrapper = mount(IncubationAlert);
- });
-
- it('displays link to issue', () => {
- expect(findButton().attributes().href).toBe(
- 'https://gitlab.com/gitlab-org/gitlab/-/issues/381660',
- );
- });
-
- it('is removed if dismissed', async () => {
- await wrapper.find('[aria-label="Dismiss"]').trigger('click');
-
- expect(findAlert().exists()).toBe(false);
- });
-});