This commit is contained in:
Ilya Kantor 2019-06-18 10:13:43 +03:00
parent c566644cad
commit f3bfb60ca2

View file

@ -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);