New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit test for core-blocks/more/edit.js components #6852

merged 1 commit into from May 23, 2018


None yet
3 participants

hideokamoto commented May 20, 2018


Related to progress on the issue -> Unit Testing Components #641

Added some unit test scripts for MoreEdit component.

How has this been tested?

Run unit test command.

 PASS  core-blocks/more/test/edit.js
    ✓ should match snapshot when noTeaser is false (23ms)
    ✓ should match snapshot when noTeaser is true (2ms)


  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • My code has proper inline documentation.

@danielbachhuber danielbachhuber added this to the 3.0 milestone May 23, 2018

@danielbachhuber danielbachhuber merged commit a956745 into WordPress:master May 23, 2018

2 checks passed

codecov/project 46.43% remains the same compared to b541282
continuous-integration/travis-ci/pr The Travis CI build passed

@hideokamoto hideokamoto deleted the hideokamoto:add/test/core-blocks/more-edit branch May 23, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment