uptime-kuma/test/backend-test
Shaan 0eebe86f81
feat: add SSL/STARTTLS option and certificate monitoring to TCP Port monitor (#6401)
Co-authored-by: Jacques ROUSSEL <jacques.roussel@rouaje.com>
Co-authored-by: rouja <jacques0roussel@gmail.com>
Co-authored-by: Nelson Chan <3271800+chakflying@users.noreply.github.com>
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-11-24 18:30:13 +13:00
..
monitor-conditions Monitor Conditions (#5048) 2024-08-30 21:48:13 +02:00
README.md Removed now unnecessary version checking (#4815) 2024-08-24 18:38:50 +02:00
test-mqtt.js Allow MQTT topic to have wildcards (# or +) (#5398) 2025-10-26 20:36:47 +01:00
test-rabbitmq.js feat: add RabbitMQ monitor (#5199) 2024-10-20 15:57:03 +02:00
test-tcp.js feat: add SSL/STARTTLS option and certificate monitoring to TCP Port monitor (#6401) 2025-11-24 18:30:13 +13:00
test-uptime-calculator.js Removed now unnecessary version checking (#4815) 2024-08-24 18:38:50 +02:00

Node.js Test Runner

Documentation: https://nodejs.org/api/test.html

Create a test file in this directory with the name *.js.

Template

const test = require("node:test");
const assert = require("node:assert");

test("Test name", async (t) => {
    assert.strictEqual(1, 1);
});

Run

npm run test-backend