diff options
Diffstat (limited to 'test/prepare-test-server.js')
-rw-r--r-- | test/prepare-test-server.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/prepare-test-server.js b/test/prepare-test-server.js new file mode 100644 index 0000000..1e0ed5c --- /dev/null +++ b/test/prepare-test-server.js @@ -0,0 +1,10 @@ +const fs = require("fs"); + +const path = "./data/test"; + +if (fs.existsSync(path)) { + fs.rmSync(path, { + recursive: true, + force: true, + }); +} |