updates for testmode

This commit is contained in:
Emily
2025-01-29 17:14:10 +01:00
parent bfeee8673c
commit a2e4ed9ee0
22 changed files with 343 additions and 61 deletions

View File

@@ -8,12 +8,12 @@ export class SharedHelper {
constructor(private localSharedPath: string) { }
static getSharedPath() { return path.join(__dirname, '../../shared_global'); }
clear() {
if (fs.existsSync(this.localSharedPath)) {
fs.rmSync(this.localSharedPath, { force: true, recursive: true });
fs.mkdirSync(this.localSharedPath);
}
fs.mkdirSync(this.localSharedPath);
}
create(name: string) {