test(integration): add integration test harness on angular unit-test builder

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EvmtStx737hu8gXe15e55W
This commit is contained in:
kamask
2026-10-26 21:17:45 +03:00
co-authored by Claude Opus 5.5
parent 1109f68e11
commit fc55456286
10 changed files with 104 additions and 9 deletions
+11
View File
@@ -0,0 +1,11 @@
import { defineConfig } from 'vitest/config';
// Дополняет конфигурацию builder'а @angular/build:unit-test (цель test-integration в angular.json).
// Список файлов задаётся в angular.json: include из этого файла builder игнорирует.
export default defineConfig({
test: {
globalSetup: ['tests/support/global-setup.ts'],
testTimeout: 20_000,
hookTimeout: 20_000,
},
});