]> source.dussan.org Git - sonarqube.git/blob
0659334976a25e6d7adf720c2ec19dd8f2bb6d14
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <Fragment>
5   <h2
6     className="settings-sub-category-name"
7   >
8     property.category.languages
9   </h2>
10   <div
11     data-test="language-select"
12   >
13     <SelectLegacy
14       className="input-large"
15       onChange={[Function]}
16       options={
17         Array [
18           Object {
19             "label": "property.category.Java",
20             "originalValue": "Java",
21             "value": "java",
22           },
23           Object {
24             "label": "property.category.JavaScript",
25             "originalValue": "JavaScript",
26             "value": "javascript",
27           },
28           Object {
29             "label": "property.category.COBOL",
30             "originalValue": "COBOL",
31             "value": "cobol",
32           },
33         ]
34       }
35       placeholder="settings.languages.select_a_language_placeholder"
36       value="java"
37     />
38   </div>
39   <div
40     className="settings-sub-category"
41   >
42     <CategoryDefinitionsList
43       category="java"
44       definitions={Array []}
45     />
46   </div>
47 </Fragment>
48 `;
49
50 exports[`should render correctly with an unknow language 1`] = `
51 <Fragment>
52   <h2
53     className="settings-sub-category-name"
54   >
55     property.category.languages
56   </h2>
57   <div
58     data-test="language-select"
59   >
60     <SelectLegacy
61       className="input-large"
62       onChange={[Function]}
63       options={
64         Array [
65           Object {
66             "label": "property.category.Java",
67             "originalValue": "Java",
68             "value": "java",
69           },
70           Object {
71             "label": "property.category.JavaScript",
72             "originalValue": "JavaScript",
73             "value": "javascript",
74           },
75           Object {
76             "label": "property.category.COBOL",
77             "originalValue": "COBOL",
78             "value": "cobol",
79           },
80         ]
81       }
82       placeholder="settings.languages.select_a_language_placeholder"
83     />
84   </div>
85 </Fragment>
86 `;