]> source.dussan.org Git - sonarqube.git/blob
73c64b6bdd7aad93097a1332f35cf547c20ba639
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render modal properly 1`] = `
4 <Modal
5   contentLabel="users.update"
6   onRequestClose={[MockFunction]}
7 >
8   <header
9     className="modal-head"
10   >
11     <h2>
12       users.update
13     </h2>
14   </header>
15   <div
16     className="modal-body modal-container"
17   >
18     <SelectList
19       elements={
20         [
21           "foo",
22         ]
23       }
24       needToReload={false}
25       onSearch={[Function]}
26       onSelect={[Function]}
27       onUnselect={[Function]}
28       renderElement={[Function]}
29       selectedElements={
30         [
31           "foo",
32         ]
33       }
34       withPaging={true}
35     />
36   </div>
37   <footer
38     className="modal-foot"
39   >
40     <ResetButtonLink
41       onClick={[MockFunction]}
42     >
43       Done
44     </ResetButtonLink>
45   </footer>
46 </Modal>
47 `;
48
49 exports[`should render modal properly 2`] = `
50 <div
51   className="select-list-list-item"
52 >
53   test1
54 </div>
55 `;
56
57 exports[`should render modal properly 3`] = `
58 <div
59   className="select-list-list-item"
60 >
61   test_foo
62 </div>
63 `;