Skip to content

Commit

Permalink
Update src/KeyringController.test.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
  • Loading branch information
mikesposito and mcmire authored Jul 17, 2023
1 parent b2dd5fb commit da16875
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/KeyringController.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ describe('KeyringController', () => {
await keyringController.persistAllKeyrings();

const { vault } = keyringController.store.getState();
const keyrings = await mockEncryptor.decrypt(PASSWORD, vault as string);
assert(vault, "Vault is not set");

Check failure on line 125 in src/KeyringController.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test / Lint (16.x)

Replace `"Vault·is·not·set"` with `'Vault·is·not·set'`

Check failure on line 125 in src/KeyringController.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test / Lint (18.x)

Replace `"Vault·is·not·set"` with `'Vault·is·not·set'`

Check failure on line 125 in src/KeyringController.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test / Lint (20.x)

Replace `"Vault·is·not·set"` with `'Vault·is·not·set'`
const keyrings = await mockEncryptor.decrypt(PASSWORD, vault);
expect(keyrings).toContain(unsupportedKeyring);
expect(keyrings).toHaveLength(2);
});
Expand Down

0 comments on commit da16875

Please sign in to comment.