This commit is contained in:
ryo-ma 2025-12-09 00:01:40 +09:00
parent ef66daa5f3
commit c1d8c00c1a

View file

@ -76,15 +76,15 @@ Deno.test("Should get data in first try", async () => {
assertEquals(data.repositories.totalCount, 128); assertEquals(data.repositories.totalCount, 128);
}); });
Deno.test("Should get data in second Retry", async () => { //Deno.test("Should get data in second Retry", async () => {
const provider = new GithubApiService(); // const provider = new GithubApiService();
//
const data = await provider.requestUserRepository( // const data = await provider.requestUserRepository(
"test", // "test",
) as GitHubUserRepository; // ) as GitHubUserRepository;
//
assertEquals(data.repositories.totalCount, 128); // assertEquals(data.repositories.totalCount, 128);
}); //});
Deno.test("Should throw NOT FOUND", async () => { Deno.test("Should throw NOT FOUND", async () => {
const provider = new GithubApiService(); const provider = new GithubApiService();