]> source.dussan.org Git - sonarqube.git/blob
915afea770c7480a5b6f8c74d8a55f5a409650a8
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render transition popup correctly 1`] = `
4 <DropdownOverlay>
5   <SelectList
6     currentItem="confirm"
7     items={
8       Array [
9         "confirm",
10         "resolve",
11         "falsepositive",
12         "wontfix",
13       ]
14     }
15     onSelect={[MockFunction]}
16   >
17     <SelectListItem
18       item="confirm"
19       key="confirm"
20       title="issue.transition.confirm.description"
21     >
22       issue.transition.confirm
23     </SelectListItem>
24     <SelectListItem
25       item="resolve"
26       key="resolve"
27       title="issue.transition.resolve.description"
28     >
29       issue.transition.resolve
30     </SelectListItem>
31     <SelectListItem
32       item="falsepositive"
33       key="falsepositive"
34       title="issue.transition.falsepositive.description"
35     >
36       issue.transition.falsepositive
37     </SelectListItem>
38     <SelectListItem
39       item="wontfix"
40       key="wontfix"
41       title="issue.transition.wontfix.description"
42     >
43       issue.transition.wontfix
44     </SelectListItem>
45   </SelectList>
46 </DropdownOverlay>
47 `;
48
49 exports[`should render transition popup correctly for vulnerability 1`] = `
50 <DropdownOverlay>
51   <SelectList
52     currentItem="resolveasreviewed"
53     items={
54       Array [
55         "resolveasreviewed",
56         "confirm",
57       ]
58     }
59     onSelect={[MockFunction]}
60   >
61     <SelectListItem
62       item="resolveasreviewed"
63       key="resolveasreviewed"
64       title="vulnerability.transition.resolveasreviewed.description"
65     >
66       vulnerability.transition.resolveasreviewed
67     </SelectListItem>
68     <SelectListItem
69       item="confirm"
70       key="confirm"
71       title="issue.transition.confirm.description"
72     >
73       issue.transition.confirm
74     </SelectListItem>
75   </SelectList>
76 </DropdownOverlay>
77 `;