message: Fix test/unit/authn/authn.test.ts
diff: @@ -116,8 +116,11 @@ describe('logInLoadProfile', () => {
  it('exists', () => {
  expect(logInLoadProfile).toBeInstanceOf(Function)
  })
  - it('runs', () => {
  - expect(logInLoadProfile({})).toBeInstanceOf(Object)
  + it('runs', async () => {
  + expect.assertions(1)
  + await logInLoadProfile({}).catch((e) => {
  + expect(e.message).toEqual('Could not log in')
  + })
  })
  })
  @@ -125,8 +128,11 @@ describe('logInLoadPreferences', () => {
  it('exists', () => {
  expect(logInLoadPreferences).toBeInstanceOf(Function)
  })
  - it('runs', () => {
  - expect(logInLoadPreferences({})).toBeInstanceOf(Object)
  + it('runs', async () => {
  + expect.assertions(1)
  + await logInLoadPreferences({}).catch((e) => {
  + expect(e.message).toEqual('(via loadPrefs) Error: Could not log in')
  + })
  })
  })
  