]> source.dussan.org Git - sonarqube.git/blob
30014d310644d89bacb21bc7360b3b86f8231cb9
[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     id="languages-category-title"
8   >
9     property.category.languages
10   </h2>
11   <div
12     data-test="language-select"
13   >
14     <Select
15       aria-labelledby="languages-category-title"
16       className="input-large select-settings-language"
17       onChange={[Function]}
18       options={
19         [
20           {
21             "label": "property.category.Java",
22             "originalValue": "Java",
23             "value": "java",
24           },
25           {
26             "label": "property.category.JavaScript",
27             "originalValue": "JavaScript",
28             "value": "javascript",
29           },
30           {
31             "label": "property.category.COBOL",
32             "originalValue": "COBOL",
33             "value": "cobol",
34           },
35         ]
36       }
37       placeholder="settings.languages.select_a_language_placeholder"
38       value={
39         {
40           "label": "property.category.Java",
41           "originalValue": "Java",
42           "value": "java",
43         }
44       }
45     />
46   </div>
47   <div
48     className="settings-sub-category"
49   >
50     <CategoryDefinitionsList
51       category="java"
52       definitions={[]}
53     />
54   </div>
55 </Fragment>
56 `;
57
58 exports[`should render correctly with an unknow language 1`] = `
59 <Fragment>
60   <h2
61     className="settings-sub-category-name"
62     id="languages-category-title"
63   >
64     property.category.languages
65   </h2>
66   <div
67     data-test="language-select"
68   >
69     <Select
70       aria-labelledby="languages-category-title"
71       className="input-large select-settings-language"
72       onChange={[Function]}
73       options={
74         [
75           {
76             "label": "property.category.Java",
77             "originalValue": "Java",
78             "value": "java",
79           },
80           {
81             "label": "property.category.JavaScript",
82             "originalValue": "JavaScript",
83             "value": "javascript",
84           },
85           {
86             "label": "property.category.COBOL",
87             "originalValue": "COBOL",
88             "value": "cobol",
89           },
90         ]
91       }
92       placeholder="settings.languages.select_a_language_placeholder"
93     />
94   </div>
95 </Fragment>
96 `;