mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Handle copy as part of fake FS
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
f7c3657e60
commit
af48b7de5f
2 files changed
+7
-1
No files matched your search
@@ -29,6 +29,7 @@ const fsInjectable = getInjectable({
|
||||
writeJsonSync,
|
||||
pathExistsSync,
|
||||
pathExists,
|
||||
copy,
|
||||
} = fse;
|
||||
|
||||
return {
|
||||
@@ -46,6 +47,7 @@ const fsInjectable = getInjectable({
|
||||
lstat,
|
||||
rm,
|
||||
access,
|
||||
copy: copy as (src: string, dest: string, options?: fse.CopyOptions) => Promise<void>,
|
||||
};
|
||||
},
|
||||
causesSideEffects: true,
|
||||
|
||||
Reference in new issue
Block a user