Skip to content

Commit

Permalink
added test for overtimecarry
Browse files Browse the repository at this point in the history
  • Loading branch information
dsumer committed Oct 16, 2023
1 parent b062946 commit dad018c
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("getOvertimecarry()", () => {
it("correctly builds getOvertimecarry() request", async () => {
const nockScope = nock(CLOCKODO_API)
.get("/overtimecarry?users_id=17&year=2028")
.reply(200, {});

await clockodo.getOvertimecarry({ usersId: 17, year: 2028 });

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

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

0 comments on commit dad018c

Please sign in to comment.