feat: initial commit - oncology literature search platform
CI / backend (push) Canceled after 0s
CI / frontend (push) Canceled after 0s

OncoLit: a multi-tenant oncology literature search, feed, and
collaboration platform. Built with FastAPI + Vue 3 + PostgreSQL.
Includes PubMed pipeline, drug approvals, AI summaries, and
systematic review tools.
This commit is contained in:
34047007@qq.com
2026-07-27 07:59:18 +08:00
commit a6cd99a4ca
473 changed files with 151472 additions and 0 deletions
@@ -0,0 +1,7 @@
import { describe, it, expect } from 'vitest'
describe('placeholder', () => {
it('should pass', () => {
expect(1 + 1).toBe(2)
})
})
+23
View File
@@ -0,0 +1,23 @@
import { vi } from 'vitest'
// Mock Naive UI composables used by useToast and components
// Keep all component exports via importOriginal so shallowMount can resolve them
vi.mock('naive-ui', async (importOriginal) => {
const mod: Record<string, unknown> = await importOriginal()
return {
...mod,
useMessage: () => ({
success: vi.fn(),
error: vi.fn(),
warning: vi.fn(),
info: vi.fn(),
}),
useDialog: () => ({
success: vi.fn(),
error: vi.fn(),
warning: vi.fn(),
info: vi.fn(),
}),
create: vi.fn(),
}
})