fix(tests): update tests for v4.0.0 stateless architecture compatibility
This commit is contained in:
@@ -25,7 +25,7 @@ tap.test('should setup advanced test environment', async () => {
|
||||
await testBunqAccount.init();
|
||||
|
||||
// Get primary account
|
||||
const accounts = await testBunqAccount.getAccounts();
|
||||
const { accounts } = await testBunqAccount.getAccounts();
|
||||
primaryAccount = accounts[0];
|
||||
|
||||
console.log('Advanced test environment setup complete');
|
||||
@@ -389,7 +389,7 @@ tap.test('should test travel mode', async () => {
|
||||
|
||||
tap.test('should cleanup advanced test resources', async () => {
|
||||
// Clean up any created resources
|
||||
const accounts = await testBunqAccount.getAccounts();
|
||||
const { accounts } = await testBunqAccount.getAccounts();
|
||||
|
||||
// Close any test accounts created (except primary)
|
||||
for (const account of accounts) {
|
||||
|
Reference in New Issue
Block a user