diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-03 18:12:58 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-03 18:12:58 +0300 |
commit | 27a5080c34c64a84219d855d652b994c5e344a0a (patch) | |
tree | 1f6bcb68378e4965b4e93a846d8a939af18aeec6 /spec/frontend/vue_shared | |
parent | 2c01907a1ab4b328e2f20ddf9e10dfe6dc17105a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/vue_shared')
-rw-r--r-- | spec/frontend/vue_shared/components/confirm_danger/confirm_danger_spec.js | 2 | ||||
-rw-r--r-- | spec/frontend/vue_shared/components/markdown/markdown_editor_spec.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/vue_shared/components/confirm_danger/confirm_danger_spec.js b/spec/frontend/vue_shared/components/confirm_danger/confirm_danger_spec.js index 379b5cde4d5..e082fa4085f 100644 --- a/spec/frontend/vue_shared/components/confirm_danger/confirm_danger_spec.js +++ b/spec/frontend/vue_shared/components/confirm_danger/confirm_danger_spec.js @@ -48,7 +48,7 @@ describe('Confirm Danger Modal', () => { wrapper = createComponent({ disabled: true }); - expect(findBtn().attributes('disabled')).toBe('true'); + expect(findBtn().attributes('disabled')).toBeDefined(); }); it('passes `buttonClass` prop to button', () => { diff --git a/spec/frontend/vue_shared/components/markdown/markdown_editor_spec.js b/spec/frontend/vue_shared/components/markdown/markdown_editor_spec.js index e9d5da4edcf..63a689088c7 100644 --- a/spec/frontend/vue_shared/components/markdown/markdown_editor_spec.js +++ b/spec/frontend/vue_shared/components/markdown/markdown_editor_spec.js @@ -155,7 +155,7 @@ describe('vue_shared/component/markdown/markdown_editor', () => { it('disables markdown field when disabled prop is true', () => { buildWrapper({ propsData: { disabled: true } }); - expect(findMarkdownField().find('textarea').attributes('disabled')).toBe('disabled'); + expect(findMarkdownField().find('textarea').attributes('disabled')).toBeDefined(); }); it('enables markdown field when disabled prop is false', () => { |