safe-global / safe-core-sdk

The Safe{Core} SDK allows builders to add account abstraction functionality into their apps.
https://docs.safe.global/sdk/overview
MIT License
242 stars 177 forks source link

feat(protocol-kit): Restrict passkeys tests according to safe version #855

Closed leonardotc closed 2 weeks ago

leonardotc commented 2 weeks ago

What it solves

Resolves #852 by scoping the tests to the correct version.

How this PR fixes it

Restrict some of the tests to the version that is applicable only. Adds a test that expects failure for the versions that are incompatbile (if it doesnt exists). The actual verification of the feature on the kit was previously added.

leonardotc commented 2 weeks ago

The current branch should be merged on the passkeys branch. Since its aligned with the same branch, it should have some tests failing.