Skip to content
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

Tests: Remove skipped tests which fail, enable those that pass #6732

Merged
merged 1 commit into from
May 15, 2018

Conversation

gziolo
Copy link
Member

@gziolo gziolo commented May 14, 2018

Description

We have some skipped unit tests. 3 of them are disabled because Enzyme still doesn't support React 16.3 and we should keep them until this is resolved. They estimate to publish new version of Enzyme in June. See enzymejs/enzyme#1513 (comment).

However, we have also one test suite where tests are hidden behind the env flag. This PR removes this flag and removes all the failing tests. Let's keep those which pass and make sure they are kept up to date with the development process.

@aduth or @youknowriad - if you have an idea how to make the removed tests make pass, please add commit to this PR. Otherwise I will merge this PR as is later this week.

How has this been tested?

npm test

Types of changes

Remove unused code.

Checklist:

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

@gziolo gziolo added [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. [Feature] UI Components Impacts or related to the UI component system labels May 14, 2018
@gziolo gziolo added this to the 2.9 milestone May 14, 2018
@gziolo gziolo self-assigned this May 14, 2018
@gziolo gziolo requested review from youknowriad, aduth and a team May 14, 2018 08:35
@gziolo gziolo merged commit ca2b3d3 into master May 15, 2018
@gziolo gziolo deleted the update/remove-skipped-failing-tests branch May 15, 2018 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] UI Components Impacts or related to the UI component system [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant