Skip to content

Commit

Permalink
fix: small fix for failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
tegefaulkes committed Oct 17, 2024
1 parent 5aebf3b commit 659afa1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/vaults/VaultOps/mkdir.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ describe('mkdir', () => {
await testVaultsUtils.expectSecret(vault, secretName, secretContent);
});
test('can create a hidden directory', async () => {
await vaultOps.mkdir(vault, dirNameHidden, { recursive: true });
const list = await vaultOps.listSecrets(vault);
expect(list).toContain(dirNameHidden);
const response = await vaultOps.mkdir(vault, dirNameHidden);
expect(response.type).toEqual('success');
await testVaultsUtils.expectDirExists(vault, dirNameHidden);
});
});

0 comments on commit 659afa1

Please sign in to comment.