// import { expect } from 'chai'; // import { InitSlsOauth, SlsOauth } from '../lib/sls.oauth'; // const testSlsOauthConfig = { // enabled: true, // url: 'https://develop-labs.auth.eu-central-1.amazoncognito.com/', // accessToken: '', // clientId: 'sgni72n31b21952u9d8nt5mfq', // test app clientId // code: '', // redirectUri: '', // verbose: false, // debug: true, // }; describe('Service response test sls Oauth', async () => { it('should authentificated client app to sls Oauth service', async () => { // const slsOauth: SlsOauth = await InitSlsOauth(testSlsOauthConfig); // console.log(slsOauth) // expect(slsOauth).haveOwnProperty('accessToken'); }); });