* tests: fix float problems and PAT problem * extend CONTRIBUTING.md * extend build documentation, add GH action, fix build on MacOS * fix build on Vercel * update .gitignore and CONTRIBUTING.md * feat: begin work on monorepo * chore(actions/basic-build): use pnpm * fix: vercel-deploy * docs: updates with new folders * chore: apply PR review comments --------- Co-authored-by: martin-mfg <2026226+martin-mfg@users.noreply.github.com>
19 lines
428 B
JavaScript
19 lines
428 B
JavaScript
import { calculateRank } from "../../src/calculateRank.js";
|
|
import { it } from "@jest/globals";
|
|
import { runAndLogStats } from "./utils.js";
|
|
|
|
it("calculateRank", async () => {
|
|
await runAndLogStats("calculateRank", () => {
|
|
calculateRank({
|
|
all_commits: false,
|
|
commits: 1300,
|
|
prs: 1500,
|
|
issues: 4500,
|
|
reviews: 1000,
|
|
repos: 0,
|
|
stars: 600000,
|
|
followers: 50000,
|
|
});
|
|
});
|
|
});
|