backend-test-utils: use remove instead of rm in MockDirectory
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -330,7 +330,7 @@ export class MockDirectory {
|
||||
* Removes the mock directory and all its contents.
|
||||
*/
|
||||
remove = (): void => {
|
||||
fs.rmSync(this.#root, { recursive: true, force: true, maxRetries: 3 });
|
||||
fs.removeSync(this.#root);
|
||||
};
|
||||
|
||||
#transformInput(input: MockDirectoryContent[string]): MockEntry[] {
|
||||
|
||||
Reference in New Issue
Block a user