uptime-kuma/test/prepare-jest.js

10 lines
158 B
JavaScript
Raw Normal View History

2021-10-05 12:39:44 +03:00
const fs = require("fs");
2021-10-05 15:37:32 +03:00
const path = "./data/test-chrome-profile";
if (fs.existsSync(path)) {
fs.rmdirSync(path, {
recursive: true,
});
}