Fix ScalarAuthClient test

This commit is contained in:
J. Ryan Stinnett 2021-04-26 15:41:19 +01:00
parent 25e4feeb38
commit ba4e58513d

View File

@ -29,7 +29,7 @@ describe('ScalarAuthClient', function() {
it('should request a new token if the old one fails', async function() {
const sac = new ScalarAuthClient();
sac._getAccountName = jest.fn((arg) => {
sac.getAccountName = jest.fn((arg) => {
switch (arg) {
case "brokentoken":
return Promise.reject({