]> source.dussan.org Git - sonarqube.git/blob
c67712805f87245b65b578cef18ac97f226e7c70
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <Modal
5   contentLabel="projects"
6   onRequestClose={[MockFunction]}
7 >
8   <div
9     className="modal-head"
10   >
11     <h2>
12       projects
13     </h2>
14   </div>
15   <div
16     className="modal-body modal-container"
17     id="profile-projects"
18   >
19     <SelectList
20       allowBulkSelection={true}
21       elements={
22         Array [
23           "test1",
24           "test2",
25           "test3",
26         ]
27       }
28       elementsTotalCount={55}
29       labelAll="quality_gates.projects.all"
30       labelSelected="quality_gates.projects.with"
31       labelUnselected="quality_gates.projects.without"
32       needReload={false}
33       onLoadMore={[Function]}
34       onReload={[Function]}
35       onSearch={[Function]}
36       onSelect={[Function]}
37       onUnselect={[Function]}
38       renderElement={[Function]}
39       selectedElements={
40         Array [
41           "test3",
42         ]
43       }
44     />
45   </div>
46   <div
47     className="modal-foot"
48   >
49     <a
50       href="#"
51       onClick={[Function]}
52     >
53       close
54     </a>
55   </div>
56 </Modal>
57 `;
58
59 exports[`should render correctly 2`] = `
60 <div
61   className="select-list-list-item"
62 >
63   <React.Fragment>
64     test1
65     <br />
66     <span
67       className="note"
68     >
69       test1
70     </span>
71   </React.Fragment>
72 </div>
73 `;
74
75 exports[`should render correctly 3`] = `
76 <div
77   className="select-list-list-item"
78 >
79   test_foo
80 </div>
81 `;