Skip to content

Add test to watch for changes in @wordpress/block-library/code #697

@westonruter

Description

@westonruter

Since this plugin depends on the save & edit functions of the Code block, we need to ensure that we're always

  • Add @wordpress/block-library as a devDependency
  • Add a test which simply compares the hashes of the files in the code directory with a given snapshot.
  • Add a command which updates the snapshot.

In this way, whenever a change is made to the Code block and Dependabot updates the dependency, we'll automatically be alerted of a change that needs to be verified. If nothing needs to change, then the snapshot can be updated and committed with the dependency update PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions