It is a Jest-ism that shouldn't be in our open source package. People using Jest can implement a similar pattern directly.