first pass of merging in warp (doesn't build)

This commit is contained in:
Ryan Ward
2026-07-01 16:08:58 -05:00
parent 2f64909469
commit 4770ac06b5
3662 changed files with 414574 additions and 89772 deletions
@@ -0,0 +1,21 @@
use warp_graphql::mutations::update_user_settings::UpdateUserSettingsResult;
use super::AuthClientImpl;
#[test]
fn unknown_settings_results_preserve_operation_context() {
for expected_message in [
"failed to set telemetry enabled",
"failed to set crash reporting enabled",
"failed to set cloud conversation storage enabled",
"failed to update user settings",
] {
let error = AuthClientImpl::on_settings_updated(
UpdateUserSettingsResult::Unknown,
expected_message,
)
.unwrap_err();
assert_eq!(error.to_string(), expected_message);
}
}