]> source.dussan.org Git - sonarqube.git/blob
dbc2f7cb5a2d2a7df71bc0edcf5ba743f3383883
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render 1`] = `
4 <div
5   className="display-inline-flex-center"
6 >
7   <DateInput
8     currentMonth={2018-02-05T00:00:00.000Z}
9     data-test="from"
10     highlightTo={2018-02-05T00:00:00.000Z}
11     maxDate={2018-02-05T00:00:00.000Z}
12     onChange={[Function]}
13     placeholder="start_date"
14     value={2018-01-17T00:00:00.000Z}
15   />
16   <span
17     className="note little-spacer-left little-spacer-right"
18   >
19     to_
20   </span>
21   <DateInput
22     currentMonth={2018-01-17T00:00:00.000Z}
23     data-test="to"
24     highlightFrom={2018-01-17T00:00:00.000Z}
25     minDate={2018-01-17T00:00:00.000Z}
26     onChange={[Function]}
27     placeholder="end_date"
28     value={2018-02-05T00:00:00.000Z}
29   />
30 </div>
31 `;
32
33 exports[`should render: with min/max 1`] = `
34 <div
35   className="display-inline-flex-center"
36 >
37   <DateInput
38     data-test="from"
39     maxDate={2018-02-05T00:00:00.000Z}
40     minDate={2018-01-17T00:00:00.000Z}
41     onChange={[Function]}
42     placeholder="start_date"
43   />
44   <span
45     className="note little-spacer-left little-spacer-right"
46   >
47     to_
48   </span>
49   <DateInput
50     data-test="to"
51     maxDate={2018-02-05T00:00:00.000Z}
52     minDate={2018-01-17T00:00:00.000Z}
53     onChange={[Function]}
54     placeholder="end_date"
55   />
56 </div>
57 `;
58
59 exports[`should render: with min/max and value 1`] = `
60 <div
61   className="display-inline-flex-center"
62 >
63   <DateInput
64     currentMonth={2018-02-05T00:00:00.000Z}
65     data-test="from"
66     highlightTo={2018-02-05T00:00:00.000Z}
67     maxDate={2018-02-05T00:00:00.000Z}
68     minDate={2018-01-17T00:00:00.000Z}
69     onChange={[Function]}
70     placeholder="start_date"
71     value={2018-01-17T00:00:00.000Z}
72   />
73   <span
74     className="note little-spacer-left little-spacer-right"
75   >
76     to_
77   </span>
78   <DateInput
79     currentMonth={2018-01-17T00:00:00.000Z}
80     data-test="to"
81     highlightFrom={2018-01-17T00:00:00.000Z}
82     maxDate={2018-02-05T00:00:00.000Z}
83     minDate={2018-01-17T00:00:00.000Z}
84     onChange={[Function]}
85     placeholder="end_date"
86     value={2018-02-05T00:00:00.000Z}
87   />
88 </div>
89 `;