6
6
height="80"
7
7
width="80"
8
8
alt="dog"
9
- src="https://raw.githubusercontent.com/testing-library/user-event/master /other/dog.png "
9
+ src="https://raw.githubusercontent.com/testing-library/user-event/main /other/dog.png "
10
10
/>
11
11
</a >
12
12
@@ -136,7 +136,8 @@ constructor documentation for more options.
136
136
137
137
Note that ` click ` will trigger hover events before clicking. To disable this,
138
138
set the ` skipHover ` option to ` true ` . Also note that trying to click an element
139
- with ` pointer-events ` being set to ` "none" ` (i.e. unclickable) will throw an error.
139
+ with ` pointer-events ` being set to ` "none" ` (i.e. unclickable) will throw an
140
+ error.
140
141
141
142
### ` dblClick(element, eventInit, options) `
142
143
@@ -323,7 +324,7 @@ userEvent.keyboard('a', {keyboardState}) // press [KeyA] with active ctrlKey mod
323
324
```
324
325
325
326
The mapping of ` key ` to ` code ` is performed by a
326
- [ default key map] ( https://github.com/testing-library/user-event/blob/master /src/keyboard/keyMap.ts )
327
+ [ default key map] ( https://github.com/testing-library/user-event/blob/main /src/keyboard/keyMap.ts )
327
328
portraying a "default" US-keyboard. You can provide your own local keyboard
328
329
mapping per option.
329
330
796
797
<!-- prettier-ignore-start -->
797
798
[ npm ] : https://www.npmjs.com
798
799
[ node ] : https://nodejs.org
799
- [ build-badge ] : https://img.shields.io/github/workflow/status/testing-library/user-event/validate/master ?logo=github&style=flat-square
800
+ [ build-badge ] : https://img.shields.io/github/workflow/status/testing-library/user-event/validate/main ?logo=github&style=flat-square
800
801
[ build ] : https://github.com/testing-library/user-event/actions?query=workflow%3Avalidate
801
802
[ coverage-badge ] : https://img.shields.io/codecov/c/github/testing-library/user-event.svg?style=flat-square
802
803
[ coverage ] : https://codecov.io/github/testing-library/user-event
@@ -805,11 +806,11 @@ MIT
805
806
[ downloads-badge ] : https://img.shields.io/npm/dm/@testing-library/user-event.svg?style=flat-square
806
807
[ npmtrends ] : http://www.npmtrends.com/@testing-library/user-event
807
808
[ license-badge ] : https://img.shields.io/npm/l/@testing-library/user-event.svg?style=flat-square
808
- [ license ] : https://github.com/testing-library/user-event/blob/master /LICENSE
809
+ [ license ] : https://github.com/testing-library/user-event/blob/main /LICENSE
809
810
[ prs-badge ] : https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
810
811
[ prs ] : http://makeapullrequest.com
811
812
[ coc-badge ] : https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square
812
- [ coc ] : https://github.com/testing-library/user-event/blob/master /other/CODE_OF_CONDUCT.md
813
+ [ coc ] : https://github.com/testing-library/user-event/blob/main /other/CODE_OF_CONDUCT.md
813
814
[ emojis ] : https://github.com/all-contributors/all-contributors#emoji-key
814
815
[ all-contributors ] : https://github.com/all-contributors/all-contributors
815
816
[ all-contributors-badge ] : https://img.shields.io/github/all-contributors/testing-library/user-event?color=orange&style=flat-square
0 commit comments