Skip to content

Test harness should throw on missing selectors #318

@aciccarello

Description

@aciccarello

Enhancement
The testing harness should throw when the selector isn't found. Th.is would help debug failing tests

Package Version:

Code

h.trigger('@nonExistantSelector', 'whatToTrigger');

Expected behavior:
The trigger call will throw an error indicating the selector could not be found.

Actual behavior:
The trigger passes silently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions