This PR:
- brings react-sdk test coverage from 0% to ~95%
- adds DOM-based testing (tests based on asserting DOM entity states)
- tests for query-style, basic, and detailed evaluation APIs
- tests for suspense functionality and re-rendering on context change
- tests for some util functions and hooks
- `renderHook` tests for non suspending hooks
- fixes a bug where `useWhenProviderReady` didn't cause re-render after
the provider is ready if suspense wasn't used (leading to an out-of-date
return value for provider readiness)

---------
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
|
||
|---|---|---|
| .. | ||
| evaluation.spec.tsx | ||
| options.spec.ts | ||
| provider.spec.tsx | ||
| test.utils.ts | ||
| tsconfig.json | ||