Create your own GitHub profile
Sign up for your own profile on GitHub, the best place to host code, manage projects, and build software alongside 50 million developers.
Sign up
Pinned
3,118 contributions in the last year
Activity overview
Contributed to
kentcdodds/kentcdodds.com,
kentcdodds/bookshelf,
testing-library/dom-testing-library
and 5 other
repositories
Contribution activity
June 2020
- kentcdodds/bad-nas-scripts Perl
- kentcdodds/msw TypeScript
- kentcdodds/testing-library-fake-timers JavaScript
- kentcdodds/react-query-fake-timers JavaScript
Created a pull request in testing-library/dom-testing-library that received 65 comments
feat(userEvent): build-in @testing-library/user-event
What: This merges @testing-library/user-event into @testing-library/dom.
Why: Most of the time people should be using user event.
How:
The first co…
+5,354
−411
•
65
comments
- fix: do not wrap the whole function in the event wrapper
- fix(type): correct wrapping
- fix: ensure all events are fired in the eventWrapper
- chore: update coc to v2
- feat: make several API and implementation improvements
- test: remove react from type tests
- fix(type): allow typing negative numbers
- fix(type): ensure the selectionStart/End are consistent with browsers
- fix(type): handle selectionRange properly
- feat(type): support special charaters (like {enter})
- fix(type): wrap type in the asyncWrapper from DOM Testing Library
- fix: update DOM Testing Library for some bug fixes
- feat(waitFor): add onTimeout which adds DOM output to timeout errors
- fix(waitFor): handle odd timing issue with fake timers
- feat(waitFor): add complete and transparent support for fake timers
- chore: update code of conduct to v2
- feat(createEvent): make a function that allows creating generic events
- feat(getConfig): export the getConfig function
- feat(config): add new `eventWrapper` config for wrapping fireEvent
- fix: use the first label for LabelText query suggestions
- feat: add allowed roles to role query types
- feat(waitFor): add onTimeout which adds DOM output to timeout errors
- fix: add getConfig to types
- feat(waitFor): add complete and transparent support for fake timers
- docs: Link to new Discord
- fix: improve suggested message, can't await getBy
- fix: Treat header as banner role
- Limit use of realTimers to Jest's fakeTimers
- Use custom testIdAttribute in getSuggestedQuery
- fix: runWithRealTimers to be compatible with new version of jest
- fix(userEvent): don't select option if select is disabled
- Added explicit error message for Promises passed to getWindowFromNode
- feat(userEvent): Add paste API (fixes #640)
- [#610] waitForElementToBeRemoved: fix return type
- fix: typescript definitions for suggestions
- fix: canSuggest should not be case sensitive
- chore: add option to get specific query suggestions
- feat(userEvent): build-in @testing-library/user-event
- Support `clipboardData` like `dataTransfer`.
- fix(TS): Recommend updating local type definitions
- feat: use regex based TextMatch for suggestions
- Proposal setup to make the TypeScript migration easier
- feat: return more data from getSuggestedQuery to support tooling
- fix: Bump dom-accessibility-api
- Some pull request reviews not shown.
- fix: React onChange/onInput events not triggering on input type="file" file upload
- chore: disable testing-library/no-dom-import eslint rule
- fix: update onChange/input events fired on selected option
- refactor(tab): remove tabIndex set and unset for jsdom
- fix: add message if type/paste function is called with an invalid element
- Fix leading number being trimmed on point type
- Add else block to setSelectionRange check
- Cycle focus between the body and page tab sequence
- docs: Move contributions to dom-testing-library
- Add @testing-library/dom to installation
- feat(hover): Add hover API (fixes #254)
- Support customElements
- Feat/toggleSelectOptions
- Bugix/fire type events on active element
- Fix pretty format import
- docs: Link to new Discord
- Updated cheat sheet + added source file
- docs: Add window.localStorage.remove('token') statement to afterEach() in tests/login.js file
- fix(docs): separate basic example code block
- [Chore][Docs] Update links and re-add typings section
- docs: use "msw" for API mocking in examples
- Run cleanup() when test runner supports teardown()
- [WIP] Bring typings from DefinitelyTyped into this repo
Created an issue in testing-library/user-event that received 12 comments
Replace type allAtOnce with "paste"
It's not aligned with the goals of this lib, but the use case is understandable so we should include a simple "paste" event.
12
comments