diff --git a/.all-contributorsrc b/.all-contributorsrc
index 4913b0c7..05f6e72f 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -117,6 +117,15 @@
"bug",
"ideas"
]
+ },
+ {
+ "login": "jday3",
+ "name": "Jesse Day",
+ "avatar_url": "https://avatars3.githubusercontent.com/u/4439618?v=4",
+ "profile": "https://github.com/jday3",
+ "contributions": [
+ "code"
+ ]
}
]
}
diff --git a/README.md b/README.md
index e9aa6f9a..1fd7de3e 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@
[![downloads][downloads-badge]][npmtrends]
[![MIT License][license-badge]][license]
-[](#contributors)
+[](#contributors)
[![PRs Welcome][prs-badge]][prs]
[![Code of Conduct][coc-badge]][coc]
@@ -683,10 +683,12 @@ light-weight, simple, and understandable.
Thanks goes to these people ([emoji key][emojis]):
+
| [
Kent C. Dodds](https://kentcdodds.com)
[๐ป](https://github.com/kentcdodds/react-testing-library/commits?author=kentcdodds "Code") [๐](https://github.com/kentcdodds/react-testing-library/commits?author=kentcdodds "Documentation") [๐](#infra-kentcdodds "Infrastructure (Hosting, Build-Tools, etc)") [โ ๏ธ](https://github.com/kentcdodds/react-testing-library/commits?author=kentcdodds "Tests") | [
Ryan Castner](http://audiolion.github.io)
[๐](https://github.com/kentcdodds/react-testing-library/commits?author=audiolion "Documentation") | [
Daniel Sandiego](https://www.dnlsandiego.com)
[๐ป](https://github.com/kentcdodds/react-testing-library/commits?author=dnlsandiego "Code") | [
Paweล Mikoลajczyk](https://github.com/Miklet)
[๐ป](https://github.com/kentcdodds/react-testing-library/commits?author=Miklet "Code") | [
Alejandro รรกรฑez Ortiz](http://co.linkedin.com/in/alejandronanez/)
[๐](https://github.com/kentcdodds/react-testing-library/commits?author=alejandronanez "Documentation") | [
Matt Parrish](https://github.com/pbomb)
[๐](https://github.com/kentcdodds/react-testing-library/issues?q=author%3Apbomb "Bug reports") [๐ป](https://github.com/kentcdodds/react-testing-library/commits?author=pbomb "Code") [๐](https://github.com/kentcdodds/react-testing-library/commits?author=pbomb "Documentation") [โ ๏ธ](https://github.com/kentcdodds/react-testing-library/commits?author=pbomb "Tests") | [
Justin Hall](https://github.com/wKovacs64)
[๐ฆ](#platform-wKovacs64 "Packaging/porting to new platform") |
| :---: | :---: | :---: | :---: | :---: | :---: | :---: |
-| [
Anto Aravinth](https://github.com/antoaravinth)
[๐ป](https://github.com/kentcdodds/react-testing-library/commits?author=antoaravinth "Code") [โ ๏ธ](https://github.com/kentcdodds/react-testing-library/commits?author=antoaravinth "Tests") [๐](https://github.com/kentcdodds/react-testing-library/commits?author=antoaravinth "Documentation") | [
Jonah Moses](https://github.com/JonahMoses)
[๐](https://github.com/kentcdodds/react-testing-library/commits?author=JonahMoses "Documentation") | [
ลukasz Gandecki](http://team.thebrain.pro)
[๐ป](https://github.com/kentcdodds/react-testing-library/commits?author=lgandecki "Code") [โ ๏ธ](https://github.com/kentcdodds/react-testing-library/commits?author=lgandecki "Tests") [๐](https://github.com/kentcdodds/react-testing-library/commits?author=lgandecki "Documentation") | [
Ivan Babak](https://sompylasar.github.io)
[๐](https://github.com/kentcdodds/react-testing-library/issues?q=author%3Asompylasar "Bug reports") [๐ค](#ideas-sompylasar "Ideas, Planning, & Feedback") |
+| [
Anto Aravinth](https://github.com/antoaravinth)
[๐ป](https://github.com/kentcdodds/react-testing-library/commits?author=antoaravinth "Code") [โ ๏ธ](https://github.com/kentcdodds/react-testing-library/commits?author=antoaravinth "Tests") [๐](https://github.com/kentcdodds/react-testing-library/commits?author=antoaravinth "Documentation") | [
Jonah Moses](https://github.com/JonahMoses)
[๐](https://github.com/kentcdodds/react-testing-library/commits?author=JonahMoses "Documentation") | [
ลukasz Gandecki](http://team.thebrain.pro)
[๐ป](https://github.com/kentcdodds/react-testing-library/commits?author=lgandecki "Code") [โ ๏ธ](https://github.com/kentcdodds/react-testing-library/commits?author=lgandecki "Tests") [๐](https://github.com/kentcdodds/react-testing-library/commits?author=lgandecki "Documentation") | [
Ivan Babak](https://sompylasar.github.io)
[๐](https://github.com/kentcdodds/react-testing-library/issues?q=author%3Asompylasar "Bug reports") [๐ค](#ideas-sompylasar "Ideas, Planning, & Feedback") | [
Jesse Day](https://github.com/jday3)
[๐ป](https://github.com/kentcdodds/react-testing-library/commits?author=jday3 "Code") |
+
This project follows the [all-contributors][all-contributors] specification.
diff --git a/typings/index.d.ts b/typings/index.d.ts
index f9b3c606..07c15511 100644
--- a/typings/index.d.ts
+++ b/typings/index.d.ts
@@ -1,5 +1,5 @@
import {Simulate as ReactSimulate} from 'react-dom/test-utils'
-import waitForExpect from 'wait-for-expect'
+export {default as waitForExpect} from 'wait-for-expect'
interface RenderResult {
container: HTMLDivElement
@@ -25,9 +25,7 @@ export function flushPromises(): Promise
export const Simulate: typeof ReactSimulate
-export function waitForExpect(): typeof waitForExpect
-
-export default function wait(
+export function wait(
callback?: () => void,
options?: {
timeout?: number