···594594 .insert(TEST_HANDLE.to_string(), expired_cred);
595595 auth::save_config(&config).unwrap();
596596597597+ // wait so the refreshed token gets a different iat/exp than the original
598598+ tokio::time::sleep(std::time::Duration::from_secs(1)).await;
599599+597600 // resolve_auth should detect the expired token and refresh it
598601 let resolved = auth::resolve_auth(TEST_HANDLE, PDS_URL).await.unwrap();
599602