fix(tests): update tests for v4.0.0 stateless architecture compatibility

This commit is contained in:
2025-07-27 08:51:31 +00:00
parent c9fab7def2
commit cb6e79ba50
9 changed files with 22 additions and 15 deletions

View File

@@ -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) {