Commit cd28af36 authored by Dave Pisek's avatar Dave Pisek

Minor cleanup: Use `findComponent` within specs

Changes from `find` to `findComponent` where applicable.
parent d51d741f
......@@ -89,10 +89,10 @@ describe('Vulnerability', () => {
wrapper.destroy();
});
const findHeader = () => wrapper.find(VulnerabilityHeader);
const findDetails = () => wrapper.find(Details);
const findFooter = () => wrapper.find(VulnerabilityFooter);
const findAlert = () => wrapper.find(FalsePositiveAlert);
const findHeader = () => wrapper.findComponent(VulnerabilityHeader);
const findDetails = () => wrapper.findComponent(Details);
const findFooter = () => wrapper.findComponent(VulnerabilityFooter);
const findAlert = () => wrapper.findComponent(FalsePositiveAlert);
describe('default behavior', () => {
beforeEach(() => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment