BREAKING CHANGE(new TinkUser().getTinkLink()): now expects a tinkLinkOptionsArg

This commit is contained in:
2022-05-12 16:42:36 +02:00
parent 596f4e5398
commit 019197e43c
6 changed files with 30 additions and 6 deletions

View File

@ -19,12 +19,15 @@ tap.test('should report tink as healthy', async () => {
await expectAsync(tinkTestAccount.getTinkHealthyBoolean()).toBeTrue();
});
tap.test('should create a tink user', async (toolsArg) => {
await tinkTestAccount.createTinkUser('user_1234_abc');
})
tap.test('should create a valid request', async (toolsArg) => {
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 () => {