refactor: remove obsolete project mode
This commit is contained in:
@@ -4,7 +4,7 @@ import { buildMockRequest } from '../../../helpers/request'
|
||||
const authMock = vi.hoisted(() => ({
|
||||
requireProjectAuthLight: vi.fn(async () => ({
|
||||
session: { user: { id: 'user-1' } },
|
||||
project: { id: 'project-1', userId: 'user-1', mode: 'novel-promotion' },
|
||||
project: { id: 'project-1', userId: 'user-1' },
|
||||
})),
|
||||
isErrorResponse: vi.fn((value: unknown) => value instanceof Response),
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user