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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/integrations/edit/components/active_checkbox_spec.js')
-rw-r--r--spec/frontend/integrations/edit/components/active_checkbox_spec.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/spec/frontend/integrations/edit/components/active_checkbox_spec.js b/spec/frontend/integrations/edit/components/active_checkbox_spec.js
index 1f7a5f0dbc9..3a78140d0b1 100644
--- a/spec/frontend/integrations/edit/components/active_checkbox_spec.js
+++ b/spec/frontend/integrations/edit/components/active_checkbox_spec.js
@@ -17,10 +17,6 @@ describe('ActiveCheckbox', () => {
});
};
- afterEach(() => {
- wrapper.destroy();
- });
-
const findGlFormCheckbox = () => wrapper.findComponent(GlFormCheckbox);
const findInputInCheckbox = () => findGlFormCheckbox().find('input');
@@ -30,7 +26,7 @@ describe('ActiveCheckbox', () => {
createComponent({}, { isInheriting: true });
expect(findGlFormCheckbox().exists()).toBe(true);
- expect(findInputInCheckbox().attributes('disabled')).toBe('disabled');
+ expect(findInputInCheckbox().attributes('disabled')).toBeDefined();
});
});
@@ -39,7 +35,7 @@ describe('ActiveCheckbox', () => {
createComponent({ activateDisabled: true });
expect(findGlFormCheckbox().exists()).toBe(true);
- expect(findInputInCheckbox().attributes('disabled')).toBe('disabled');
+ expect(findInputInCheckbox().attributes('disabled')).toBeDefined();
});
});