Merge branch 'master' of https://github.com/louislam/uptime-kuma into uptime-badges

This commit is contained in:
Jens Neuber
2022-04-20 10:10:14 +02:00
186 changed files with 15120 additions and 5251 deletions

View File

@@ -1,4 +1,4 @@
const { genSecret, sleep } = require("../src/util");
const { genSecret } = require("../src/util");
const utilServerRewire = require("../server/util-server");
describe("Test parseCertificateInfo", () => {

View File

@@ -1,7 +1,6 @@
// eslint-disable-next-line no-unused-vars
const { Page, Browser } = require("puppeteer");
const { sleep } = require("../src/util");
const axios = require("axios");
/**
* Set back the correct data type for page object

View File

@@ -1,9 +1,10 @@
const fs = require("fs");
const rmSync = require("../extra/fs-rmSync.js");
const path = "./data/test-chrome-profile";
if (fs.existsSync(path)) {
fs.rmdirSync(path, {
rmSync(path, {
recursive: true,
});
}

View File

@@ -1,9 +1,10 @@
const fs = require("fs");
const rmSync = require("../extra/fs-rmSync.js");
const path = "./data/test";
if (fs.existsSync(path)) {
fs.rmdirSync(path, {
rmSync(path, {
recursive: true,
});
}