fix: Replace rimraf with fs-extra.remove

This commit is contained in:
Joachim Van Herwegen
2021-08-02 09:58:05 +02:00
parent 3cb200328a
commit 2a82c4f06e
7 changed files with 101 additions and 54 deletions

View File

@@ -26,7 +26,7 @@ const stores: [string, any][] = [
}],
[ 'on-disk storage', {
storeConfig: 'storage/backend/file.json',
teardown: (): void => removeFolder(rootFilePath),
teardown: async(): Promise<void> => removeFolder(rootFilePath),
}],
];