@davidloiret
When running the test suite using the wasm-pack test --headless --chrome command, the vault operations tests fail due to a type mismatch error. Specifically, the function upsert_vault is expecting a parameter of type &IdentityHandle, but it is receiving a JsValue instead.
error[E0308]: arguments to this function are incorrect
--> tests/vault_operations.rs:421:22
|
421 | let future = upsert_vault(
| ^^^^^^^^^^^^
422 | &vault_name_strings[i],
423 | passwords[i].clone(),
| -------------------- expected &IdentityHandle, found JsValue
424 | new_namespace.clone(),
| --------------------- expected &str, found JsValue
@davidloiret
When running the test suite using the wasm-pack test --headless --chrome command, the vault operations tests fail due to a type mismatch error. Specifically, the function upsert_vault is expecting a parameter of type &IdentityHandle, but it is receiving a JsValue instead.
error[E0308]: arguments to this function are incorrect
--> tests/vault_operations.rs:421:22
|
421 | let future = upsert_vault(
| ^^^^^^^^^^^^
422 | &vault_name_strings[i],
423 | passwords[i].clone(),
| -------------------- expected
&IdentityHandle, foundJsValue424 | new_namespace.clone(),
| --------------------- expected
&str, foundJsValue