feat(soak): scaffold tests/soak package

Placeholder runner, tsconfig with @bot alias to tests/e2e/bot,
gitignored .env.stresstest + artifacts. Real behavior follows
in Task 10 onward.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
adlee-was-taken
2026-04-11 08:19:09 -04:00
parent 835a79cc0f
commit 5478a4299e
7 changed files with 434 additions and 0 deletions

25
tests/soak/package.json Normal file
View File

@@ -0,0 +1,25 @@
{
"name": "golf-soak",
"version": "0.1.0",
"private": true,
"description": "Multiplayer soak & UX test harness for Golf Card Game",
"scripts": {
"soak": "tsx runner.ts",
"soak:populate": "tsx runner.ts --scenario=populate",
"soak:stress": "tsx runner.ts --scenario=stress",
"seed": "tsx scripts/seed-accounts.ts",
"smoke": "bash scripts/smoke.sh",
"test": "vitest run"
},
"dependencies": {
"playwright-core": "^1.40.0",
"ws": "^8.16.0"
},
"devDependencies": {
"tsx": "^4.7.0",
"@types/ws": "^8.5.0",
"@types/node": "^20.10.0",
"typescript": "^5.3.0",
"vitest": "^1.2.0"
}
}