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 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">
<div style="display: contents">%sveltekit.body%</div>
</body>
</html>

View File

@@ -0,0 +1,34 @@
<svelte:head>
<title>SvelteKit sprite fixture</title>
</svelte:head>
<main>
<h1>SvelteKit</h1>
<svg
data-testid="icon"
data-app="sveltekit"
aria-label="Check icon"
viewBox="0 0 24 24"
>
<use href="/sprites/icons.sprite.svg#check"></use>
</svg>
</main>
<style>
:global(:root) {
font-family: system-ui, sans-serif;
color: #172033;
background: #fff;
}
:global(body) {
margin: 0;
padding: 40px;
}
[data-testid='icon'] {
width: 64px;
height: 64px;
color: #16a34a;
}
</style>