15 lines
357 B
TypeScript
15 lines
357 B
TypeScript
![]() |
import { users } from '../../src/index.js';
|
||
|
|
||
|
async function example() {
|
||
|
const response = await users.get_user_self_extended();
|
||
|
if ('error_code' in response) throw response;
|
||
|
|
||
|
return response;
|
||
|
}
|
||
|
|
||
|
describe('Testing users.get_user_self_extended', () => {
|
||
|
it('should be truthy or throw', async () => {
|
||
|
expect(await example()).toBeTruthy();
|
||
|
});
|
||
|
});
|