Skip to content

JavaScript Test Coverage #2121

@swissspidy

Description

@swissspidy

We should finally add some tests for all the fancy new JavaScript stuff.

While working on AMP Stories we did already lots of groundwork for making things easier to test. For example, blocks can be imported without registering, components are mostly self-contained and in separate files/folders, plus we use wp-scripts, which basically gives us the infrastructure to run tests in a similar fashion to Gutenberg - including E2E tests using Puppeteer!

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or improvement of an existing oneInfrastructureChanges impacting testing infrastructure or build tooling

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions