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

feat(breaking): remove legacy debug export #328

Merged
merged 5 commits into from
May 18, 2020

Conversation

mdjastrzebski
Copy link
Member

Summary

Remove global debug export and implementation, in favor of debug method returned by render() functions.

Resolves #317

Test plan

Removed related tests.

@thymikee
Copy link
Member

Doesn't this leave us with no tests around debug returned from render?

@mdjastrzebski
Copy link
Member Author

There are some render()s tests for debug which are roughly equivalent to removed global debug tests.

@mdjastrzebski mdjastrzebski linked an issue May 18, 2020 that may be closed by this pull request
Copy link
Member

@thymikee thymikee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's rebase, update migration doc and get it merged 👍

@thymikee thymikee merged commit 6a6e614 into next May 18, 2020
@thymikee thymikee deleted the feature/remove-legacy-degug-export branch May 18, 2020 14:19
@thymikee thymikee changed the title Feat(breaking): remove legacy degug export feat(breaking): remove legacy debug export May 18, 2020
mdjastrzebski added a commit that referenced this pull request May 18, 2020
* Removed global `debug` functions

* Removed global `debug` from docs

* Cleanup

* Added migration section

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
thymikee added a commit that referenced this pull request May 18, 2020
…#327)

* Change argument to options object

* Renamed `waitForElement` to `waitFor`

* Migration guide entry

* Fixed typescript check

* Update src/helpers/a11yAPI.js

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>

* (Nearly) Empty migration doc for ver. 2.0 (#326)

* Added migration docs section

* Added to docosaurus side bar

* Updated README

* Increased async test timeout

* Update website/docs/Migration20.md

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>

* feat(breaking): remove legacy `debug` export (#328)

* Removed global `debug` functions

* Removed global `debug` from docs

* Cleanup

* Added migration section

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
thymikee added a commit that referenced this pull request May 28, 2020
* Removed global `debug` functions

* Removed global `debug` from docs

* Cleanup

* Added migration section

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
thymikee added a commit that referenced this pull request May 28, 2020
…#327)

* Change argument to options object

* Renamed `waitForElement` to `waitFor`

* Migration guide entry

* Fixed typescript check

* Update src/helpers/a11yAPI.js

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>

* (Nearly) Empty migration doc for ver. 2.0 (#326)

* Added migration docs section

* Added to docosaurus side bar

* Updated README

* Increased async test timeout

* Update website/docs/Migration20.md

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>

* feat(breaking): remove legacy `debug` export (#328)

* Removed global `debug` functions

* Removed global `debug` from docs

* Cleanup

* Added migration section

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove debug export from the library
3 participants