Skip to content

Testing exposed methods #2300

@padcom

Description

@padcom

The current test suite focuses on properties and attributes. That is only half of the DOM. You need to be able to also provide methods on your custom elements. Not having that ability automatically makes the APIs awkward (instance.isOpen = true instead of instance.open() rather than in addition to).

The current version of test cases is not representative and is tailored towards frameworks, not developers using them. It's basically a lie what the reports say.

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