Releases: romgain/jest-websocket-mock
Releases · romgain/jest-websocket-mock
v2.5.0
v2.4.1
Fix
Fixes an issue where using the toReceiveMessage
helper would leave open handles (@valainisgt)
v2.4.0
v2.3.0
v2.2.0
v2.1.0
Feature
- Automatically wrap relevant methods in
act
If @testing-library/react
is already installed,
we use their implementation of act
- it's complete
and provides useful warnings.
If it's not installed, then we simply assume that the user
is not testing a React application, and use a noop instead.
v2.0.2
v2.0.1
v2.0.0
Breaking Change
- Updated the typescript type definitions to be compatible with
@types/jest@24.0.20
. See DefinitelyTyped/DefinitelyTyped#39243.