Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: testing-library/react-testing-library
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v13.0.0
Choose a base ref
...
head repository: testing-library/react-testing-library
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v13.0.1
Choose a head ref
  • 3 commits
  • 4 files changed
  • 3 contributors

Commits on Apr 11, 2022

  1. test(types): Don't assume implicit children (#1042)

    * test(types): Don't assume implicit children
    
    * format
    eps1lon authored Apr 11, 2022
    Copy the full SHA
    93bc2c8 View commit details
  2. fix: Specify a non-* version for @types/react-dom (#1040)

    fixes #1039
    
    Co-authored-by: Sebastian Silbermann <[email protected]>
    Nokel81 and eps1lon authored Apr 11, 2022
    Copy the full SHA
    2a889e8 View commit details
  3. docs: add Nokel81 as a contributor for bug, code (#1043)

    Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
    allcontributors[bot] authored Apr 11, 2022
    Copy the full SHA
    c8c93f8 View commit details
Showing with 13 additions and 1 deletion.
  1. +10 −0 .all-contributorsrc
  2. +1 −0 README.md
  3. +1 −1 package.json
  4. +1 −0 types/test.tsx
10 changes: 10 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -1307,6 +1307,16 @@
"code",
"bug"
]
},
{
"login": "Nokel81",
"name": "Sebastian Malton",
"avatar_url": "https://avatars.githubusercontent.com/u/8225332?v=4",
"profile": "https://github.com/Nokel81",
"contributions": [
"bug",
"code"
]
}
],
"contributorsPerLine": 7,
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -615,6 +615,7 @@ Thanks goes to these people ([emoji key][emojis]):
<td align="center"><a href="https://github.com/ImADrafter"><img src="https://avatars.githubusercontent.com/u/44379989?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Marcos Gómez</b></sub></a><br /><a href="https://github.com/testing-library/react-testing-library/commits?author=ImADrafter" title="Documentation">📖</a></td>
<td align="center"><a href="https://www.akashshyam.online/"><img src="https://avatars.githubusercontent.com/u/56759828?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Akash Shyam</b></sub></a><br /><a href="https://github.com/testing-library/react-testing-library/issues?q=author%3Aakashshyamdev" title="Bug reports">🐛</a></td>
<td align="center"><a href="https://hen.ne.ke"><img src="https://avatars.githubusercontent.com/u/4312191?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Fabian Meumertzheim</b></sub></a><br /><a href="https://github.com/testing-library/react-testing-library/commits?author=fmeum" title="Code">💻</a> <a href="https://github.com/testing-library/react-testing-library/issues?q=author%3Afmeum" title="Bug reports">🐛</a></td>
<td align="center"><a href="https://github.com/Nokel81"><img src="https://avatars.githubusercontent.com/u/8225332?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sebastian Malton</b></sub></a><br /><a href="https://github.com/testing-library/react-testing-library/issues?q=author%3ANokel81" title="Bug reports">🐛</a> <a href="https://github.com/testing-library/react-testing-library/commits?author=Nokel81" title="Code">💻</a></td>
</tr>
</table>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@
"dependencies": {
"@babel/runtime": "^7.12.5",
"@testing-library/dom": "^8.5.0",
"@types/react-dom": "*"
"@types/react-dom": "^18.0.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.11.6",
1 change: 1 addition & 0 deletions types/test.tsx
Original file line number Diff line number Diff line change
@@ -129,6 +129,7 @@ export function wrappedRenderC(
options?: pure.RenderOptions,
) {
interface AppWrapperProps {
children?: React.ReactNode
userProviderProps?: {user: string}
}
const AppWrapperProps: React.FunctionComponent<AppWrapperProps> = ({