fix(core): update
This commit is contained in:
@ -20,13 +20,15 @@ tap.test('should report tink as healthy', async () => {
|
||||
});
|
||||
|
||||
tap.test('should create a valid request', async (toolsArg) => {
|
||||
const tinkuser = await tinkTestAccount.createTinkUser("user_1234_abc");
|
||||
console.log(await tinkuser.getTinkLink());
|
||||
process.exit(0);
|
||||
const tinkuser: tink.TinkUser = await tinkTestAccount.getTinkUser("user_1234_abc");
|
||||
console.log(tinkuser);
|
||||
console.log(await tinkuser.getTinkLinkForMarket()); // defaults to 'DE';
|
||||
console.log(await tinkuser.getProviderConsents())
|
||||
await toolsArg.delayFor(10000);
|
||||
})
|
||||
|
||||
tap.test('should delete existing users', async () => {
|
||||
process.exit(0);
|
||||
expect(tinkTestAccount).toBeInstanceOf(tink.TinkAccount);
|
||||
const tinkUser = new tink.TinkUser(tinkTestAccount, null, 'user_1234_abc');
|
||||
await tinkUser.delete();
|
||||
|
Reference in New Issue
Block a user