React 19 dependencies

This commit is contained in:
sebastien 2024-12-06 14:33:07 +01:00
parent e9f0641620
commit 7c538024b7
29 changed files with 93 additions and 102 deletions

View file

@ -12,7 +12,7 @@ import {version as ReactVersion} from 'react';
import {version as ReactDOMVersion} from 'react-dom';
export function TestComponent() {
const expectedVersion = 18;
const expectedVersion = 19;
if (!ReactVersion.startsWith(`${expectedVersion}`)) {
throw new Error(
`'test-bad-package/README.mdx' is rendered with bad React version: ${ReactVersion}`,