]> source.dussan.org Git - sonarqube.git/blob
2bd20adf4e53147481e5ae1db8397fb05d52febf
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly for 7days: default 1`] = `
4 <Fragment>
5   <a
6     className="button button-primary"
7     download="audit_logs.json"
8     href="/api/audit_logs/download?from=2020-07-14T12%3A00%3A00.000Z&to=2020-07-21T12%3A00%3A00.000Z"
9     onClick={[MockFunction]}
10     rel="noopener noreferrer"
11     target="_blank"
12   >
13     download_verb
14   </a>
15 </Fragment>
16 `;
17
18 exports[`should render correctly for 30days: default 1`] = `
19 <Fragment>
20   <a
21     className="button button-primary"
22     download="audit_logs.json"
23     href="/api/audit_logs/download?from=2020-06-21T12%3A00%3A00.000Z&to=2020-07-21T12%3A00%3A00.000Z"
24     onClick={[MockFunction]}
25     rel="noopener noreferrer"
26     target="_blank"
27   >
28     download_verb
29   </a>
30 </Fragment>
31 `;
32
33 exports[`should render correctly for 90days: default 1`] = `
34 <Fragment>
35   <a
36     className="button button-primary"
37     download="audit_logs.json"
38     href="/api/audit_logs/download?from=2020-04-22T12%3A00%3A00.000Z&to=2020-07-21T12%3A00%3A00.000Z"
39     onClick={[MockFunction]}
40     rel="noopener noreferrer"
41     target="_blank"
42   >
43     download_verb
44   </a>
45 </Fragment>
46 `;
47
48 exports[`should render correctly for custom range: no dates 1`] = `
49 <Fragment>
50   <a
51     className="button button-primary disabled"
52     download="audit_logs.json"
53     href="#"
54     rel="noopener noreferrer"
55     target="_blank"
56   >
57     download_verb
58   </a>
59 </Fragment>
60 `;
61
62 exports[`should render correctly for custom range: with dates 1`] = `
63 <Fragment>
64   <a
65     className="button button-primary"
66     download="audit_logs.json"
67     href="/api/audit_logs/download?from=2020-07-19T12%3A00%3A00.000Z&to=2020-07-21T12%3A00%3A00.000Z"
68     onClick={[MockFunction]}
69     rel="noopener noreferrer"
70     target="_blank"
71   >
72     download_verb
73   </a>
74 </Fragment>
75 `;
76
77 exports[`should render correctly for today: default 1`] = `
78 <Fragment>
79   <a
80     className="button button-primary"
81     download="audit_logs.json"
82     href="/api/audit_logs/download?from=2020-07-21T12%3A00%3A00.000Z&to=2020-07-21T12%3A00%3A00.000Z"
83     onClick={[MockFunction]}
84     rel="noopener noreferrer"
85     target="_blank"
86   >
87     download_verb
88   </a>
89 </Fragment>
90 `;