1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly for 7days: default 1`] = `
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"
18 exports[`should render correctly for 30days: default 1`] = `
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"
33 exports[`should render correctly for 90days: default 1`] = `
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"
48 exports[`should render correctly for custom range: no dates 1`] = `
51 className="button button-primary disabled"
52 download="audit_logs.json"
54 rel="noopener noreferrer"
62 exports[`should render correctly for custom range: with dates 1`] = `
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"
77 exports[`should render correctly for today: default 1`] = `
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"