Files
snk/packages/github-user-contribution/__tests__/getGithubUserContribution.spec.ts
2020-07-19 17:28:12 +02:00

15 lines
324 B
TypeScript

import { getGithubUserContribution } from "..";
it("should get user contribution", async () => {
const { cells, colorScheme } = await getGithubUserContribution("platane");
expect(cells).toBeDefined();
expect(colorScheme).toEqual([
"#ebedf0",
"#9be9a8",
"#40c463",
"#30a14e",
"#216e39",
]);
});