Showcase how state can be used in the cli #958
9.00% of diff hit (target 58.83%)
View this Pull Request on Codecov
9.00% of diff hit (target 58.83%)
Annotations
Check warning on line 7 in crates/bitwarden-core/src/auth/auth_repository.rs
codecov / codecov/patch
crates/bitwarden-core/src/auth/auth_repository.rs#L7
Added line #L7 was not covered by tests
Check warning on line 30 in crates/bitwarden-core/src/auth/auth_repository.rs
codecov / codecov/patch
crates/bitwarden-core/src/auth/auth_repository.rs#L29-L30
Added lines #L29 - L30 were not covered by tests
Check warning on line 33 in crates/bitwarden-core/src/auth/auth_repository.rs
codecov / codecov/patch
crates/bitwarden-core/src/auth/auth_repository.rs#L32-L33
Added lines #L32 - L33 were not covered by tests
Check warning on line 36 in crates/bitwarden-core/src/auth/auth_repository.rs
codecov / codecov/patch
crates/bitwarden-core/src/auth/auth_repository.rs#L35-L36
Added lines #L35 - L36 were not covered by tests
Check warning on line 39 in crates/bitwarden-core/src/auth/auth_repository.rs
codecov / codecov/patch
crates/bitwarden-core/src/auth/auth_repository.rs#L38-L39
Added lines #L38 - L39 were not covered by tests
Check warning on line 161 in crates/bitwarden-core/src/auth/client_auth.rs
codecov / codecov/patch
crates/bitwarden-core/src/auth/client_auth.rs#L159-L161
Added lines #L159 - L161 were not covered by tests
Check warning on line 51 in crates/bitwarden-core/src/auth/login/api_key.rs
codecov / codecov/patch
crates/bitwarden-core/src/auth/login/api_key.rs#L50-L51
Added lines #L50 - L51 were not covered by tests
Check warning on line 61 in crates/bitwarden-core/src/auth/login/api_key.rs
codecov / codecov/patch
crates/bitwarden-core/src/auth/login/api_key.rs#L57-L61
Added lines #L57 - L61 were not covered by tests
Check warning on line 79 in crates/bitwarden-core/src/auth/login/api_key.rs
codecov / codecov/patch
crates/bitwarden-core/src/auth/login/api_key.rs#L65-L79
Added lines #L65 - L79 were not covered by tests
Check warning on line 6 in crates/bitwarden-core/src/auth/unlock.rs
codecov / codecov/patch
crates/bitwarden-core/src/auth/unlock.rs#L6
Added line #L6 was not covered by tests
Check warning on line 30 in crates/bitwarden-core/src/auth/unlock.rs
codecov / codecov/patch
crates/bitwarden-core/src/auth/unlock.rs#L21-L30
Added lines #L21 - L30 were not covered by tests
Check warning on line 39 in crates/bitwarden-core/src/auth/unlock.rs
codecov / codecov/patch
crates/bitwarden-core/src/auth/unlock.rs#L34-L39
Added lines #L34 - L39 were not covered by tests
Check warning on line 42 in crates/bitwarden-core/src/auth/unlock.rs
codecov / codecov/patch
crates/bitwarden-core/src/auth/unlock.rs#L41-L42
Added lines #L41 - L42 were not covered by tests
Check warning on line 8 in crates/bitwarden-core/src/platform/settings_repository.rs
codecov / codecov/patch
crates/bitwarden-core/src/platform/settings_repository.rs#L8
Added line #L8 was not covered by tests
Check warning on line 29 in crates/bitwarden-core/src/platform/settings_repository.rs
codecov / codecov/patch
crates/bitwarden-core/src/platform/settings_repository.rs#L25-L29
Added lines #L25 - L29 were not covered by tests
Check warning on line 40 in crates/bitwarden-core/src/platform/settings_repository.rs
codecov / codecov/patch
crates/bitwarden-core/src/platform/settings_repository.rs#L31-L40
Added lines #L31 - L40 were not covered by tests
Check warning on line 43 in crates/bitwarden-core/src/platform/settings_repository.rs
codecov / codecov/patch
crates/bitwarden-core/src/platform/settings_repository.rs#L42-L43
Added lines #L42 - L43 were not covered by tests
Check warning on line 51 in crates/bitwarden-core/src/platform/settings_repository.rs
codecov / codecov/patch
crates/bitwarden-core/src/platform/settings_repository.rs#L45-L51
Added lines #L45 - L51 were not covered by tests
Check warning on line 58 in crates/bitwarden-core/src/platform/settings_repository.rs
codecov / codecov/patch
crates/bitwarden-core/src/platform/settings_repository.rs#L53-L58
Added lines #L53 - L58 were not covered by tests
Check warning on line 61 in crates/bitwarden-core/src/platform/settings_repository.rs
codecov / codecov/patch
crates/bitwarden-core/src/platform/settings_repository.rs#L60-L61
Added lines #L60 - L61 were not covered by tests
Check warning on line 119 in crates/bw/src/auth/login.rs
codecov / codecov/patch
crates/bw/src/auth/login.rs#L114-L119
Added lines #L114 - L119 were not covered by tests
Check warning on line 12 in crates/bw/src/commands/vault.rs
codecov / codecov/patch
crates/bw/src/commands/vault.rs#L12
Added line #L12 was not covered by tests
Check warning on line 24 in crates/bw/src/commands/vault.rs
codecov / codecov/patch
crates/bw/src/commands/vault.rs#L17-L24
Added lines #L17 - L24 were not covered by tests
Check warning on line 26 in crates/bw/src/commands/vault.rs
codecov / codecov/patch
crates/bw/src/commands/vault.rs#L26
Added line #L26 was not covered by tests
Check warning on line 28 in crates/bw/src/commands/vault.rs
codecov / codecov/patch
crates/bw/src/commands/vault.rs#L28
Added line #L28 was not covered by tests