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