fix(tests): update tests for v4.0.0 stateless architecture compatibility
This commit is contained in:
@@ -27,7 +27,7 @@ tap.test('should setup webhook test environment', async () => {
|
||||
await testBunqAccount.init();
|
||||
|
||||
// Get primary account
|
||||
const accounts = await testBunqAccount.getAccounts();
|
||||
const { accounts } = await testBunqAccount.getAccounts();
|
||||
primaryAccount = accounts[0];
|
||||
|
||||
expect(primaryAccount).toBeInstanceOf(bunq.BunqMonetaryAccount);
|
||||
|
Reference in New Issue
Block a user