feat:Strengthen the testing framework

This commit is contained in:
saturn
2026-03-15 18:15:25 +08:00
parent eec27fbabf
commit ecbd183a77
31 changed files with 2326 additions and 85 deletions

View File

@@ -81,7 +81,7 @@ export function installAuthMocks() {
if (state.projectAuthMode === 'not_found') return notFoundResponse()
return {
session: state.session,
project: { id: projectId, userId: state.session.user.id, name: 'project' },
project: { id: projectId, userId: state.session.user.id, name: 'project', mode: 'novel-promotion' },
novelData: { id: 'novel-data-id' },
}
},