mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-23 19:42:17 +00:00
79065b8d3f
Previously, `fs.rmdir` was called multiple times on the same path, even when the path was already deleted. This causes test failures in Node 16. This commit extracts the cleanup code into a utility function and ensures that no error is thrown when the given path is already deleted. Signed-off-by: David Mehren <git@herrmehren.de> |
||
---|---|---|
.. | ||
fixtures | ||
history.e2e-spec.ts | ||
me.e2e-spec.ts | ||
media.e2e-spec.ts | ||
notes.e2e-spec.ts |