forked from mirrored/github-stats-extended
fix: github rate limiter with multiple PATs
This commit is contained in:
1 parent
2efb399f33
commit
3d8dea90e2
6 files changed
+78
-25
No files matched your search
@@ -74,7 +74,7 @@ describe("Test fetchStats", () => {
|
||||
mock.onPost("https://api.github.com/graphql").reply(200, error);
|
||||
|
||||
await expect(fetchStats("anuraghazra")).rejects.toThrow(
|
||||
"Could not fetch user"
|
||||
"Could not resolve to a User with the login of 'noname'."
|
||||
);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user