Skip to content

Allow stubbing specific actions only #2970

Open
@posva

Description

@posva

What problem is this solving

createTestingPinia() can stub or spy all actions but in some cases, it's useful to stub only a few ones

Proposed solution

  • Adapt the option of stubActions for { include, exclude }

Describe alternatives you've considered

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions