You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/iota-sdk-types/src/crypto/passkey.rs
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -404,13 +404,11 @@ impl proptest::arbitrary::Arbitrary for PasskeyAuthenticator {
404
404
}
405
405
}
406
406
407
-
#[cfg(test)]
407
+
#[cfg(all(feature = "serde",test))]
408
408
mod tests {
409
-
#[cfg(feature = "serde")]
410
409
usecrate::UserSignature;
411
410
412
411
#[test]
413
-
#[cfg(feature = "serde")]
414
412
fnbase64_encoded_passkey_user_signature(){
415
413
let b64 = "BiVYDmenOnqS+thmz5m5SrZnWaKXZLVxgh+rri6LHXs25B0AAAAAnQF7InR5cGUiOiJ3ZWJhdXRobi5nZXQiLCAiY2hhbGxlbmdlIjoiQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQSIsIm9yaWdpbiI6Imh0dHA6Ly9sb2NhbGhvc3Q6NTE3MyIsImNyb3NzT3JpZ2luIjpmYWxzZSwgInVua25vd24iOiAidW5rbm93biJ9YgJMwqcOmZI7F/N+K5SMe4DRYCb4/cDWW68SFneSHoD2GxKKhksbpZ5rZpdrjSYABTCsFQQBpLORzTvbj4edWKd/AsEBeovrGvHR9Ku7critg6k7qvfFlPUngujXfEzXd8Eg";
0 commit comments