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

✅ Fail tests that call console error when they are run during local dev #15043

Merged
merged 2 commits into from
May 3, 2018
Merged

✅ Fail tests that call console error when they are run during local dev #15043

merged 2 commits into from
May 3, 2018

Conversation

rsimha
Copy link
Contributor

@rsimha rsimha commented May 3, 2018

#14406 is tracking the effort to fix AMP tests that result in unexpected calls to console.error. For the past month, tests would warn on unexpected errors, but continue to pass. Now it's time to start failing tests during local development, so that these errors are fixed.

Tests will continue to pass on Travis and when gulp pr-check is run locally.

Related to #14406

@rsimha
Copy link
Contributor Author

rsimha commented May 3, 2018

/to @danielrozenberg @erwinmombay
/cc @cramforce

@danielrozenberg
Copy link
Member

You should differentiate between running gulp test (which probably means the developer aims to test a single unit test file) and gulp pr-check (which probably means the developer wants to check whether their PR checks would pass)

@rsimha
Copy link
Contributor Author

rsimha commented May 3, 2018

@danielrozenberg Good idea. Done.

@rsimha rsimha merged commit c2bed78 into ampproject:master May 3, 2018
@rsimha rsimha deleted the 2018-04-30-FailLocal branch May 3, 2018 18:34
noranazmy pushed a commit to noranazmy/amphtml that referenced this pull request May 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants