]> source.dussan.org Git - sonarqube.git/blob
676c7005b7acdc0a3aa7963b81ebb5fd64acd9ec
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render available plugin correctly 1`] = `
4 <div
5   className="js-actions"
6 >
7   <p
8     className="little-spacer-bottom"
9   >
10     <Checkbox
11       checked={false}
12       className="js-terms"
13       id="plugin-terms-foo"
14       onCheck={[Function]}
15       thirdState={false}
16     >
17       <label
18         className="little-spacer-left"
19         htmlFor="plugin-terms-foo"
20       >
21         marketplace.i_accept_the
22       </label>
23     </Checkbox>
24     <a
25       className="js-plugin-terms nowrap little-spacer-left"
26       href="https://url"
27       rel="noopener noreferrer"
28       target="_blank"
29     >
30       marketplace.terms_and_conditions
31     </a>
32   </p>
33   <Tooltip
34     overlay="marketplace.requires_restart"
35   >
36     <Button
37       className="js-install"
38       disabled={true}
39       onClick={[Function]}
40     >
41       marketplace.install
42     </Button>
43   </Tooltip>
44 </div>
45 `;
46
47 exports[`should render available plugin correctly 2`] = `
48 <div
49   className="js-actions"
50 >
51   <div>
52     <p
53       className="little-spacer-bottom"
54     >
55       marketplace.available_under_commercial_license
56     </p>
57   </div>
58 </div>
59 `;
60
61 exports[`should render installed plugin correctly 1`] = `
62 <div
63   className="js-actions"
64 >
65   <PluginUpdateButton
66     disabled={false}
67     key="0"
68     onClick={[Function]}
69     update={
70       {
71         "requires": [],
72         "status": "COMPATIBLE",
73       }
74     }
75   />
76   <Tooltip
77     overlay="marketplace.requires_restart"
78   >
79     <Button
80       className="js-uninstall button-red little-spacer-left"
81       disabled={false}
82       onClick={[Function]}
83     >
84       marketplace.uninstall
85     </Button>
86   </Tooltip>
87 </div>
88 `;
89
90 exports[`should render installed plugin correctly 2`] = `
91 <div
92   className="js-actions"
93 >
94   <p>
95     <CheckIcon
96       className="little-spacer-right"
97     />
98     marketplace.installed
99   </p>
100   <div
101     className="spacer-top"
102   >
103     <PluginUpdateButton
104       disabled={false}
105       key="0"
106       onClick={[Function]}
107       update={
108         {
109           "requires": [],
110           "status": "COMPATIBLE",
111         }
112       }
113     />
114   </div>
115 </div>
116 `;