Skip to content

Commit 659afa1

Browse files
committed
fix: small fix for failing test
1 parent 5aebf3b commit 659afa1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/vaults/VaultOps/mkdir.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ describe('mkdir', () => {
125125
await testVaultsUtils.expectSecret(vault, secretName, secretContent);
126126
});
127127
test('can create a hidden directory', async () => {
128-
await vaultOps.mkdir(vault, dirNameHidden, { recursive: true });
129-
const list = await vaultOps.listSecrets(vault);
130-
expect(list).toContain(dirNameHidden);
128+
const response = await vaultOps.mkdir(vault, dirNameHidden);
129+
expect(response.type).toEqual('success');
130+
await testVaultsUtils.expectDirExists(vault, dirNameHidden);
131131
});
132132
});

0 commit comments

Comments
 (0)