Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions backend/__tests__/unit/services/hostedRuntimeService.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ describe('hostedRuntimeService', () => {
const filter = mockRunCount.mock.calls[0][0];
expect(filter).toMatchObject({ agentName: 'scout', instanceId: 'default', trigger: { $ne: 'first_contact' } });
expect(filter.startedAt.$gte.toISOString()).toMatch(/T00:00:00\.000Z$/);
// A run that failed and posted nothing is not one of the person's turns.
expect(filter.metered).toEqual({ $ne: false });
});

it('meters acked events by ACK time (deliveredAt) since the UTC day start and reports the reset', async () => {
Expand Down
Loading
Loading