]> source.dussan.org Git - sonarqube.git/blob
efaa64321e6959b47cede320d35f461fe94b535a
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render projects 1`] = `
4 <section>
5   <h2
6     className="spacer-bottom"
7   >
8     my_profile.per_project_notifications.title
9   </h2>
10   <Connect(ProjectNotifications)
11     project={
12       Object {
13         "key": "foo",
14         "name": "Foo",
15       }
16     }
17   />
18   <Connect(ProjectNotifications)
19     project={
20       Object {
21         "key": "bar",
22         "name": "Bar",
23       }
24     }
25   />
26   <div
27     className="spacer-top panel bg-muted"
28   >
29     <span
30       className="text-middle spacer-right"
31     >
32       Set notifications for:
33     </span>
34     <Async
35       autoload={false}
36       cache={false}
37       ignoreAccents={true}
38       ignoreCase={true}
39       loadOptions={[Function]}
40       loadingPlaceholder="Loading..."
41       minimumInput={2}
42       name="new_project"
43       onChange={[Function]}
44       optionRenderer={[Function]}
45       options={Array []}
46       placeholder="Search Project"
47       searchPromptText="Type to search"
48       style={
49         Object {
50           "width": "300px",
51         }
52       }
53     />
54   </div>
55 </section>
56 `;
57
58 exports[`should render projects 2`] = `
59 <section>
60   <h2
61     className="spacer-bottom"
62   >
63     my_profile.per_project_notifications.title
64   </h2>
65   <Connect(ProjectNotifications)
66     project={
67       Object {
68         "key": "foo",
69         "name": "Foo",
70       }
71     }
72   />
73   <Connect(ProjectNotifications)
74     project={
75       Object {
76         "key": "bar",
77         "name": "Bar",
78       }
79     }
80   />
81   <Connect(ProjectNotifications)
82     project={
83       Object {
84         "key": "qux",
85         "name": "Qux",
86       }
87     }
88   />
89   <div
90     className="spacer-top panel bg-muted"
91   >
92     <span
93       className="text-middle spacer-right"
94     >
95       Set notifications for:
96     </span>
97     <Async
98       autoload={false}
99       cache={false}
100       ignoreAccents={true}
101       ignoreCase={true}
102       loadOptions={[Function]}
103       loadingPlaceholder="Loading..."
104       minimumInput={2}
105       name="new_project"
106       onChange={[Function]}
107       optionRenderer={[Function]}
108       options={Array []}
109       placeholder="Search Project"
110       searchPromptText="Type to search"
111       style={
112         Object {
113           "width": "300px",
114         }
115       }
116     />
117   </div>
118 </section>
119 `;
120
121 exports[`should render projects 3`] = `
122 <section>
123   <h2
124     className="spacer-bottom"
125   >
126     my_profile.per_project_notifications.title
127   </h2>
128   <Connect(ProjectNotifications)
129     project={
130       Object {
131         "key": "foo",
132         "name": "Foo",
133       }
134     }
135   />
136   <Connect(ProjectNotifications)
137     project={
138       Object {
139         "key": "bar",
140         "name": "Bar",
141       }
142     }
143   />
144   <Connect(ProjectNotifications)
145     project={
146       Object {
147         "key": "qux",
148         "name": "Qux",
149       }
150     }
151   />
152   <div
153     className="spacer-top panel bg-muted"
154   >
155     <span
156       className="text-middle spacer-right"
157     >
158       Set notifications for:
159     </span>
160     <Async
161       autoload={false}
162       cache={false}
163       ignoreAccents={true}
164       ignoreCase={true}
165       loadOptions={[Function]}
166       loadingPlaceholder="Loading..."
167       minimumInput={2}
168       name="new_project"
169       onChange={[Function]}
170       optionRenderer={[Function]}
171       options={Array []}
172       placeholder="Search Project"
173       searchPromptText="Type to search"
174       style={
175         Object {
176           "width": "300px",
177         }
178       }
179     />
180   </div>
181 </section>
182 `;
183
184 exports[`should render projects 4`] = `
185 Object {
186   "addedProjects": Array [],
187 }
188 `;