summaryrefslogtreecommitdiff
path: root/frontend/src/lib/strategyTab.test.ts
diff options
context:
space:
mode:
authorSomhairle H. Marisol <[email protected]>2026-09-18 12:03:32 +0800
committerSomhairle H. Marisol <[email protected]>2026-09-18 12:03:32 +0800
commit17e30105538f419c6abef2a69ffd4f0eb4cf238b (patch)
tree23b79c0b4f0f7aca67a3e33ae88b95cb9a991ec0 /frontend/src/lib/strategyTab.test.ts
parent61f5c545953bb4ee20b123bf9671ac35d7f1f3c1 (diff)
downloadstrategy-lab-17e30105538f419c6abef2a69ffd4f0eb4cf238b.tar.gz
[变更性质] test(frontend)
[新增功能] 测试与 probe 同步:mobileCss round3 断言、resultsAccounting .m-tile、strategyTab 超时放宽、probe radius 断言 [实现方案] probe cardRadiusOk 校验 --radius≥0.75rem 且组件计算圆角一致;88/88 vitest 全绿 [影响范围] src/lib/*.test.ts、scripts/ui-auth-shots.mjs
Diffstat (limited to 'frontend/src/lib/strategyTab.test.ts')
-rw-r--r--frontend/src/lib/strategyTab.test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/lib/strategyTab.test.ts b/frontend/src/lib/strategyTab.test.ts
index a5bf6d8..eb199a1 100644
--- a/frontend/src/lib/strategyTab.test.ts
+++ b/frontend/src/lib/strategyTab.test.ts
@@ -53,7 +53,7 @@ describe('strategy tab numeric generation contract (pageerror regression)', () =
beforeEach(() => { document.body.innerHTML = ''; });
afterEach(() => vi.unstubAllGlobals());
- it('full numeric flow renders editor + 草稿代 3 without .slice crash', async () => {
+ it('full numeric flow renders editor + 草稿代 3 without .slice crash', { timeout: 15000 }, async () => {
const { host, cleanup } = await mountStrategyTab(handler());
try {
const text = host.textContent;