test: add comprehensive unit and integration tests for billing components (#32227)

Co-authored-by: CodingOnStar <hanxujiang@dify.com>
This commit is contained in:
Coding On Star
2026-02-12 10:05:06 +08:00
committed by GitHub
parent d6b025e91e
commit 80e6312807
53 changed files with 3431 additions and 625 deletions

View File

@ -1,6 +1,6 @@
import type { CurrentPlanInfoBackend } from '../type'
import { DocumentProcessingPriority, Plan } from '../type'
import { getPlanVectorSpaceLimitMB, parseCurrentPlan, parseVectorSpaceToMB } from './index'
import type { CurrentPlanInfoBackend } from '../../type'
import { DocumentProcessingPriority, Plan } from '../../type'
import { getPlanVectorSpaceLimitMB, parseCurrentPlan, parseVectorSpaceToMB } from '../index'
describe('billing utils', () => {
// parseVectorSpaceToMB tests