Skip to content

Commit

Permalink
wip: fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tegefaulkes committed Jun 6, 2022
1 parent bd199b9 commit d45d952
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/nodes/NodeConnectionManager.seednodes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -503,5 +503,5 @@ describe(`${NodeConnectionManager.name} seed nodes test`, () => {
await node2?.stop();
await node2?.destroy();
}
});
}, global.defaultTimeout * 2);
});
2 changes: 1 addition & 1 deletion tests/nodes/NodeGraph.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import * as testUtils from '../utils';

describe(`${NodeGraph.name} test`, () => {
const password = 'password';
const logger = new Logger(`${NodeGraph.name} test`, LogLevel.DEBUG, [
const logger = new Logger(`${NodeGraph.name} test`, LogLevel.WARN, [
new StreamHandler(),
]);
let mockedGenerateKeyPair: jest.SpyInstance;
Expand Down
4 changes: 2 additions & 2 deletions tests/vaults/VaultManager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ describe('VaultManager', () => {
await vaultManager?.destroy();
}
},
global.defaultTimeout * 2,
global.defaultTimeout * 4,
);
test('can rename a vault', async () => {
const vaultManager = await VaultManager.createVaultManager({
Expand Down Expand Up @@ -1184,7 +1184,7 @@ describe('VaultManager', () => {
await vaultManager?.stop();
await vaultManager?.destroy();
}
});
}, global.defaultTimeout * 2);
test('throw when trying to commit to a cloned vault', async () => {
const vaultManager = await VaultManager.createVaultManager({
vaultsPath,
Expand Down

0 comments on commit d45d952

Please sign in to comment.