fix(stats-card): commits count when include_all_commits is true (#391)

This commit is contained in:
Boris K authored and GitHub committed 2020-09-24 12:33:32 +05:30
1 parent 723ec0fde6
commit 851bb7b4b8
2 files changed
+8 -11

No files matched your search

+2 -2
View File
@@ -114,7 +114,7 @@ describe("Test fetchStats", () => {
let stats = await fetchStats("anuraghazra", true, true);
const rank = calculateRank({
totalCommits: 1000 + 150,
totalCommits: 1000,
totalRepos: 5,
followers: 100,
contributions: 61,
@@ -126,7 +126,7 @@ describe("Test fetchStats", () => {
expect(stats).toStrictEqual({
contributedTo: 61,
name: "Anurag Hazra",
totalCommits: 1000 + 150,
totalCommits: 1000,
totalIssues: 200,
totalPRs: 300,
totalStars: 400,