mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-06-28 20:14:14 +00:00
create file
This commit is contained in:
parent
a9a064dfa1
commit
a60fb418ad
1 changed files with 9 additions and 0 deletions
9
src/test.ts
Normal file
9
src/test.ts
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
// Creates a dummy file
|
||||||
|
function createDummyFile(file: File): File {
|
||||||
|
const dummyFile = new File([''], file.name, {
|
||||||
|
type: file.type,
|
||||||
|
lastModified: file.lastModified,
|
||||||
|
});
|
||||||
|
|
||||||
|
return dummyFile;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue