Skip to content
Snippets Groups Projects

Add 'location.file' to new vulnerability details component

All threads resolved!
Compare and Show latest version
1 file
+ 1
6
Compare changes
  • Side-by-side
  • Inline
@@ -33,12 +33,7 @@ describe('ee/security_dashboard/components/shared/vulnerability_details_graphql/
@@ -33,12 +33,7 @@ describe('ee/security_dashboard/components/shared/vulnerability_details_graphql/
const expectToBeDetailsSection = (sectionWrapper, { heading = '' } = {}) => {
const expectToBeDetailsSection = (sectionWrapper, { heading = '' } = {}) => {
expect(sectionWrapper.is(DetailsSection)).toBe(true);
expect(sectionWrapper.is(DetailsSection)).toBe(true);
expect(sectionWrapper.props('heading')).toBe(heading);
if (heading) {
expect(sectionWrapper.props()).toMatchObject({
heading,
});
}
};
};
afterEach(() => {
afterEach(() => {
Loading