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,6 +1,6 @@
import { describe, expect, it } from 'vitest'
import { prisma } from '@shumai/db'
import { setupTestDbHooks } from '@shumai/db'
import { setupTestDbHooks } from '@shumai/db/test'
import { NotificationType } from '@shumai/db'
import { notificationService } from './notification'
import { userMetadataService } from '@shumai/core/src/user-metadata/user-metadata'