Skip to content

Commit

Permalink
Fix test building
Browse files Browse the repository at this point in the history
  • Loading branch information
akfreas committed Nov 25, 2023
1 parent 5cb5970 commit 1460fda
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions tangential/tests/integration/jira.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe("jira requests", () => {
const totalPoints = await sumTotalStoryPointsForEpic(
epicKey,
pointsFields,
auth,
auth
);

expect(totalPoints).toBe(56);
Expand All @@ -49,9 +49,14 @@ describe("jira requests", () => {
it("calculates story points for a project", async () => {
const pointsFields: PointsField[] = await getFields(auth, "point"); // Assuming getFields returns the fields used for story points
const totalPoints = await sumTotalStoryPointsForProject(
"TAN",
{
id: "10000",
name: "Tangential",
jqlQuery: "project = TAN",
owner: "akfreas",
},
pointsFields,
auth,
auth
);

expect(totalPoints).toBe(96.5);
Expand Down

0 comments on commit 1460fda

Please sign in to comment.