api-server/test/jest-file-integration.json
wangdl add6a1ab4c
All checks were successful
Deploy API Server / build-and-unit (push) Successful in 41s
Deploy API Server / current-integration (push) Successful in 32s
Deploy API Server / backward-compat (push) Successful in 0s
Deploy API Server / deploy (push) Successful in 1m3s
feat: LocalStorageProvider 与文件上传生命周期 Integration
- 新增 LocalStorageProvider (本地磁盘存储)
- 新增 LocalStorageController (PUT upload / GET download)
- StorageService 支持 STORAGE_DRIVER=local 切换
- 完整文件生命周期: upload-url → PUT → complete → head → delete
- 重复 complete 幂等、删除释放
- 8 项 Integration 测试全部 PASS

无需生产 COS 密钥即可本地测试文件上传
2026-06-27 13:46:18 +08:00

13 lines
378 B
JSON

{
"moduleFileExtensions": ["js", "json", "ts"],
"rootDir": "..",
"testEnvironment": "node",
"roots": ["<rootDir>/test"],
"testRegex": "test/m-member-01-file\\.integration\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)sx?$": ["ts-jest", { "useESM": false, "tsconfig": "tsconfig.json" }]
},
"transformIgnorePatterns": ["/node_modules/"],
"testTimeout": 120000
}