Update failure case test of maybeRefreshToken()

pull/502/head
Rick Carlino 2017-10-16 07:24:13 -05:00
parent 80ab11dbe6
commit 23601375eb
1 changed files with 2 additions and 2 deletions

View File

@ -39,8 +39,8 @@ describe("maybeRefreshToken()", () => {
}
}
};
maybeRefreshToken(t).then(() => {
expect(Session.clear).toHaveBeenCalled();
maybeRefreshToken(t).then((result) => {
expect(result).toBeUndefined();
done();
});
});