- e1955dd36: Fixes broken patch build
- Updated dependencies [e1955dd36]
- @lg-tools/[email protected]
- 53c67fba6: LG-4650: migrates from
yarn
topnpm
- Updated dependencies [79c88b5b1]
- Updated dependencies [53c67fba6]
- @lg-tools/[email protected]
-
9776f5f42: Adds
renderHookServer
method@testing-library/react-hooks/server exposed a
renderHook
method that allowed for one to render hooks as if SSR, and control hydration. This is no longer supported in versions >=18.This code was extracted from @testing-library/react-hooks/server and updated to be compatible with React version >= 18 using
hydrateRoot
.More context found here: testing-library/react-testing-library#1120
- cfa830701:
waitForTransition
acceptsnull
arg
- 659aa9eed: Creates
useTraceUpdate
hook
-
ed9bead67: Creates a
waitForTransition
test utility. Fires thetransitionend
event on a given element to ensure event handlers are called after CSS transitions complete.This is useful for testing
onEntered
oronExited
callbacks onTransition
orPopover
elements.
- 356a53fd: Update TS builds to use
[email protected]
- 2bceccb1: Fixes
lodash
imports to use default exports of specific functions to reduce component's bundle size.
- 7f38e78a: Exports
waitForState
, a wrapper aroundact
that returns the result of the state update callback - 7f38e78a: Exports overrides for
renderHook
andact
that will work in both a React 17 and React 18 test environment
- 4fcf2e94: Fixes
isPromiseLike
TS errors
- c11bbc29: Fixes problem with ts-docs not being available in bundle.
- c15ee2ac: Fixes missing documentation file
- 215268ff: Updates build tooling. No functional changes
- e6fd9ecfc: First publish of @leafygreen-ui/testing-lib
- 8c0c2bdf9: Updates build script to include a transpiled copy of the story file in the bundle
- dac3f38b: Fixes a publishing error that prevented UMD modules from being distributed
- 0267bfd2: The underlying structure of distributed module definition files have changed and now have official support for ES modules. Module definition files are now generated using Rollup instead of Webpack. This should not affect functionality, but some thorough testing and caution should be exercised when upgrading.
- 691eb05: Better support for UMD
- 6953c2f: Handler of
SpyContextManager
now includeswaitForCall
helper.JestDOM.silenceNavigationErrors
passes a helper to wait for navigation.
- b0e541b: Initial release of testing-lib