All checks were successful
Setup testing environment and test the code / build (push) Successful in 1m2s
12 lines
410 B
TypeScript
12 lines
410 B
TypeScript
import {describe, expect, it} from "vitest";
|
|
import {FileUploadService} from './fileUploadService.js';
|
|
|
|
describe("fileUploadService", () => {
|
|
it('should upload files', async () => {
|
|
const service = new FileUploadService("");
|
|
const uploadId = await service.uploadFiles("", "", [], {
|
|
fileProgressUpdate: () => {}
|
|
})
|
|
expect(uploadId).toBe("MockUploadId")
|
|
});
|
|
}) |