refactor(db): isolate test hooks and clean up workflow worker options

This commit is contained in:
yiling
2026-06-02 18:48:54 +08:00
parent c110d67d80
commit e409f551cc
30 changed files with 34 additions and 39 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import { describe, expect, test } from 'vitest'
import { AgentService } from './agent'
import { prisma } from '@shumai/db'
import { setupTestDbHooks } from '@shumai/db'
import { setupTestDbHooks } from '@shumai/db/test'
describe('AgentService', () => {
setupTestDbHooks()