feat: add allowedTools for SDK use and re-organize test setup

This commit is contained in:
mingholy.lmh
2025-11-28 16:47:45 +08:00
parent 56957a687b
commit 249b141f19
15 changed files with 1779 additions and 394 deletions

View File

@@ -28,6 +28,14 @@ export default defineConfig({
},
include: ['test/**/*.test.ts'],
exclude: ['node_modules/', 'dist/'],
retry: 2,
fileParallelism: true,
poolOptions: {
threads: {
minThreads: 2,
maxThreads: 4,
},
},
testTimeout: testTimeoutMs,
hookTimeout: 10000,
globalSetup: './test/e2e/globalSetup.ts',