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

Clean up test-amp-state.js #21540

Merged
merged 6 commits into from
Aug 6, 2019

Conversation

dreamofabear
Copy link

@dreamofabear dreamofabear commented Mar 22, 2019

  • Avoid stubbing private functions as much as possible.
  • Use await/async for more readable control flow.

@dreamofabear dreamofabear marked this pull request as ready for review April 9, 2019 14:30
@mrjoro
Copy link
Member

mrjoro commented May 15, 2019

Is this PR still active?

@dreamofabear
Copy link
Author

Yes! Will get it merged soon.

@dreamofabear
Copy link
Author

/to @jridgewell

@dreamofabear dreamofabear merged commit 1254117 into ampproject:master Aug 6, 2019
@dreamofabear dreamofabear deleted the amp-state-tests branch August 6, 2019 22:51
thekorn pushed a commit to edelight/amphtml that referenced this pull request Sep 11, 2019
* Clean up test-amp-state.js.

* Apply prettier.

* Use async/await.

* Fix lint.

* Add more setState args expectations.
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.

None yet

4 participants