Skip to content

Commit

Permalink
added test for worktimeregulations call
Browse files Browse the repository at this point in the history
  • Loading branch information
dsumer committed Oct 16, 2023
1 parent af0c757 commit 782f382
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/clockodo.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,18 @@ describe("Clockodo (instance)", () => {
nockScope.done();
});
});

describe("getWorktimeRegulations()", () => {
it("correctly builds getWorktimeRegulations() request", async () => {
const nockScope = nock(CLOCKODO_API)
.get("/worktimeregulations")
.reply(200, {});

await clockodo.getWorktimeRegulations();

nockScope.done();
});
});
});

describe("POST", () => {
Expand Down

0 comments on commit 782f382

Please sign in to comment.