@lvce-editor/test-worker 15.1.0 → 15.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/testWorkerMain.js +3 -1
- package/package.json +1 -1
package/dist/testWorkerMain.js
CHANGED
|
@@ -3801,7 +3801,9 @@ const remove = async uri => {
|
|
|
3801
3801
|
const getTmpDirFileScheme = async () => {
|
|
3802
3802
|
const tmpFolder = await invoke('PlatformPaths.getTmpDir');
|
|
3803
3803
|
const tmpUri = tmpFolder.startsWith('file://') ? tmpFolder : `file://${tmpFolder}`;
|
|
3804
|
-
|
|
3804
|
+
const uri = `${tmpUri}/test-${Date.now()}`;
|
|
3805
|
+
await mkdir(uri);
|
|
3806
|
+
return uri;
|
|
3805
3807
|
};
|
|
3806
3808
|
const getTmpDir = async ({
|
|
3807
3809
|
scheme = Memfs
|