Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding basic unit tests #151

Merged
merged 15 commits into from
Jan 28, 2022
Prev Previous commit
Next Next commit
Update dashboard test alert time snapshot
Signed-off-by: Annie Lee <[email protected]>
Annie Lee committed Jan 27, 2022
commit b2d16b30e2fca211a86aabcda1f5be974bea9ac7
4 changes: 2 additions & 2 deletions public/pages/Dashboard/containers/Dashboard.test.js
Original file line number Diff line number Diff line change
@@ -51,7 +51,7 @@ const sampleQueryAlerts = [
alert_history: [],
severity: '1',
action_execution_results: [],
start_time: moment('20211110T1537'),
start_time: moment('20211110T1537Z'),
last_notification_time: 1636587523369,
end_time: null,
acknowledged_time: null,
@@ -69,7 +69,7 @@ const sampleQueryAlerts = [
alert_history: [],
severity: '1',
action_execution_results: [],
start_time: moment('20211110T1537'),
start_time: moment('20211110T1537Z'),
last_notification_time: 1636587523370,
end_time: null,
acknowledged_time: null,