Skip to content

vault_operations error #50

@Rish-it

Description

@Rish-it

@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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions