Upgrading @testing-library/react 13 to 14
Unknown13.4.0 → 14.3.1
Fetching 13 releases from GitHub…0 / 13
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
Node.js requirement changed in 13.5.0-alpha.1: >=12 → >=14.
API changes
Generated by DepDelta from published .d.ts files. Not mixed with prose notes.
- changed:
function render(ui: React.ReactElement, options?: Omit<RenderOptions, 'queries'>): RenderResult → function render(ui: React.ReactNode, options?: Omit<RenderOptions, 'queries'>): RenderResult - changed:
function render<Q extends Queries = typeof queries, Container extends Element | DocumentFragment = HTMLElement, BaseElement extends Element | DocumentFragment = Container>(ui: React.ReactElement, options: RenderOptions<Q, Container, BaseElement>): RenderResult<Q, Container, BaseElement> → function render<Q extends Queries = typeof queries, Container extends Element | DocumentFragment = HTMLElement, BaseElement extends Element | DocumentFragment = Container>(ui: React.ReactNode, options: RenderOptions<Q, Container, BaseElement>): RenderResult<Q, Container, BaseElement> - changed:
property RenderOptions.wrapper?: React.JSXElementConstructor<{ children: React.ReactElement }> → property RenderOptions.wrapper?: React.JSXElementConstructor<{ children: React.ReactNode }> - added:
call ConfigFn(existingConfig: Config): Partial<Config> - added:
function configure(configDelta: ConfigFn | Partial<Config>): void - added:
function getConfig(): Config - added:
interface Config extends ConfigDTL - added:
interface ConfigFn - added:
property Config.reactStrictMode: boolean