feat: SLA report filter (#9218)

Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
This commit is contained in:
Sivin Varghese
2024-04-12 11:03:18 +05:30
committed by GitHub
parent e8fe3c7c05
commit 3b6ae772bf
19 changed files with 580 additions and 67 deletions

View File

@@ -35,6 +35,7 @@ describe('#SLAReports API', () => {
inbox_id: 1,
team_id: 1,
sla_policy_id: 1,
label_list: ['label1'],
});
expect(axiosMock.get).toHaveBeenCalledWith('/api/v1/applied_slas', {
params: {
@@ -45,6 +46,7 @@ describe('#SLAReports API', () => {
inbox_id: 1,
team_id: 1,
sla_policy_id: 1,
label_list: ['label1'],
},
});
});
@@ -56,6 +58,7 @@ describe('#SLAReports API', () => {
inbox_id: 1,
team_id: 1,
sla_policy_id: 1,
label_list: ['label1'],
});
expect(axiosMock.get).toHaveBeenCalledWith(
'/api/v1/applied_slas/metrics',
@@ -67,6 +70,7 @@ describe('#SLAReports API', () => {
inbox_id: 1,
team_id: 1,
sla_policy_id: 1,
label_list: ['label1'],
},
}
);