Skip to content
Snippets Groups Projects
Unverified Commit 7a421727 authored by markrian's avatar markrian
Browse files

Fix code_flow_steps_section_spec.js under Vue 3

parent 527e6f2d
Branches andrey-remove-group-caching
No related tags found
No related merge requests found
Loading
Loading
@@ -46,7 +46,13 @@ describe('Vulnerability Code Flow', () => {
});
 
it('renders gfm', () => {
expect(renderGFM).toHaveBeenCalledWith(getById('description').element);
// FIXME: The commented out expectation passes under Vue 2 because
// `element` is `undefined` on an emtpy Wrapper. Under Vue 3, accessing
// that property throws on an empty wrapper.
//
// Should `renderGFM` be passed `undefined`, or an actual element?
// expect(renderGFM).toHaveBeenCalledWith(getById('description').element);
expect(renderGFM).toHaveBeenCalledWith(undefined);
});
 
describe('check popovers content', () => {
Loading
Loading
Loading
Loading
@@ -176,7 +176,6 @@ ee/spec/frontend/vue_shared/components/reports/report_issues_spec.js
ee/spec/frontend/vue_shared/components/reports/report_item_spec.js
ee/spec/frontend/vue_shared/purchase_flow/components/checkout/sprintf_with_links_spec.js
ee/spec/frontend/vue_shared/security_reports/components/security_training_promo_spec.js
ee/spec/frontend/vulnerabilities/code_flow/code_flow_steps_section_spec.js
ee/spec/frontend/vulnerabilities/generic_report/types/list_graphql_spec.js
ee/spec/frontend/vulnerabilities/related_issues_spec.js
ee/spec/frontend/vulnerabilities/vulnerability_file_content_viewer_spec.js
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment