Finished implementing FileUploadService + added test workflow
This commit is contained in:
10
src/services/fileUploadService.test.ts
Normal file
10
src/services/fileUploadService.test.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import {describe, expect, it} from "vitest";
|
||||
import {FileUploadService} from "./fileUploadService";
|
||||
|
||||
describe("fileUploadService", () => {
|
||||
it('should upload files', async () => {
|
||||
const service = new FileUploadService("", null, null);
|
||||
const uploadId = await service.uploadFiles("", "", [])
|
||||
expect(uploadId).toBe("MockUploadId")
|
||||
});
|
||||
})
|
||||
Reference in New Issue
Block a user