chore(examples): use modern JSX transform in examples/projects to fix warning (#10716)

Co-authored-by: Hiroshi Ogawa <[email protected]>
Co-authored-by: OpenCode (claude-opus-4-8) <[email protected]>
This commit is contained in:
Hiroshi Ogawa
2026-07-06 10:17:17 +02:00
committed by GitHub
co-authored by Hiroshi Ogawa OpenCode
parent 97c5f3aa6d
commit 43fb413ee4
3 changed files with 3 additions and 2 deletions
@@ -1,6 +1,5 @@
import { render, screen } from '@testing-library/react'
import { userEvent } from '@testing-library/user-event'
import React from 'react'
import { expect, test } from 'vitest'
import Link from '../components/Link.js'
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"target": "esnext",
"jsx": "react",
"jsx": "react-jsx",
"lib": ["esnext", "dom"],
"module": "node16",
"moduleResolution": "node16",
@@ -1,6 +1,8 @@
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vitest/config'
export default defineConfig({
plugins: [react()],
test: {
environment: 'jsdom',
setupFiles: './vitest.setup.ts',