update server tests
This commit is contained in:
1 parent
a058c0518c
commit
7fe7b79103
2 files changed
+50
-1
No files matched your search
@@ -67,7 +67,7 @@ describe("CheckPipeline", () => {
|
||||
|
||||
expect(result).toBeNull();
|
||||
expect(defaults.networkService.requestStatus).not.toHaveBeenCalled();
|
||||
expect(defaults.monitorsRepository.updateById).toHaveBeenCalledWith("m1", "team", { status: "maintenance" });
|
||||
expect(defaults.monitorsRepository.updateById).toHaveBeenCalledWith("m1", "team", { status: "maintenance", statusWindow: [] });
|
||||
});
|
||||
|
||||
it("does not re-write status when already in maintenance", async () => {
|
||||
|
||||
Reference in new issue
Block a user