UNPKG

piral-adal

Version:

Plugin to integrate AAD authentication in Piral.

16 lines (14 loc) 373 B
/** * @vitest-environment jsdom */ import { describe, it, expect } from 'vitest'; import { setupAdalClient } from './setup'; describe('Piral-Adal setup module', () => { it('created ADAL client is not logged in', () => { const client = setupAdalClient({ clientId: '123', }); const account = client.account(); expect(account).toBeNull(); }); });