test: добавить площадку интеграционного тестирования

- добавлены consumer fixtures для React и Next.js
- добавлены typecheck, production build и браузерные smoke-тесты
- добавлена интеграционная проверка в CI
This commit is contained in:
2026-07-13 20:08:31 +03:00
parent 7992adc9d3
commit 632b450c8b
130 changed files with 26424 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
import type { ReactNode } from 'react'
import './style.css'
export default function RootLayout({ children }: { children: ReactNode }) {
return (
<html lang="en">
<body>{children}</body>
</html>
)
}

View File

@@ -0,0 +1,18 @@
import { IconsIcon } from '../src/sprite'
export default function Page() {
return (
<main>
<h1>Next.js App Router + Turbopack</h1>
<IconsIcon
data-testid="icon"
data-app="next-app-turbopack"
icon="check"
aria-label="Check icon"
width={64}
height={64}
style={{ '--icon-color-1': '#16a34a' }}
/>
</main>
)
}

View File

@@ -0,0 +1,10 @@
:root {
font-family: system-ui, sans-serif;
color: #172033;
background: #fff;
}
body {
margin: 0;
padding: 40px;
}