diff --git a/5-network/01-fetch-basics/01-fetch-users/_js.view/test.js b/5-network/01-fetch-basics/01-fetch-users/_js.view/test.js index aad2f60f..95eaf876 100644 --- a/5-network/01-fetch-basics/01-fetch-users/_js.view/test.js +++ b/5-network/01-fetch-basics/01-fetch-users/_js.view/test.js @@ -1,7 +1,7 @@ describe("getUsers", function() { it("gets users from GitHub", async function() { - let users = getUsers(['iliakan', 'remy', 'no.such.users']); + let users = await getUsers(['iliakan', 'remy', 'no.such.users']); assert.equal(users[0].login, 'iliakan'); assert.equal(users[1].login, 'remy'); assert.equal(users[2], null);