initial commit

This commit is contained in:
2026-04-29 17:46:58 +08:00
commit b428595769
38 changed files with 2229 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import { describe, expect, it } from 'vitest';
import { buildQuery } from './api';
describe('buildQuery', () => {
it('keeps business filters and drops empty values', () => {
expect(buildQuery({ search: '妙蛙', environmentId: 1, skillIds: '', usageId: undefined })).toBe(
'?search=%E5%A6%99%E8%9B%99&environmentId=1'
);
});
});