We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c566644 commit f3bfb60Copy full SHA for f3bfb60
5-network/01-fetch-basics/01-fetch-users/_js.view/test.js
@@ -1,7 +1,7 @@
1
describe("getUsers", function() {
2
3
it("gets users from GitHub", async function() {
4
- let users = getUsers(['iliakan', 'remy', 'no.such.users']);
+ let users = await getUsers(['iliakan', 'remy', 'no.such.users']);
5
assert.equal(users[0].login, 'iliakan');
6
assert.equal(users[1].login, 'remy');
7
assert.equal(users[2], null);
0 commit comments