test(frontend): strengthen default time assertion
This commit is contained in:
@@ -17,7 +17,8 @@ describe("burst detection request", () => {
|
|||||||
sampling_interval_minutes: 15,
|
sampling_interval_minutes: 15,
|
||||||
});
|
});
|
||||||
expect(state.detectionMode).toBe("latest");
|
expect(state.detectionMode).toBe("latest");
|
||||||
expect(state.targetTime?.minute() % 15).toBe(0);
|
expect(state.targetTime).not.toBeNull();
|
||||||
|
expect(state.targetTime!.minute() % 15).toBe(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("sends one target time for historical replay", () => {
|
it("sends one target time for historical replay", () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user