test: cover info widget API routes
Some checks failed
Docker CI / Linting Checks (push) Has been cancelled
Docker CI / Docker Build & Push (push) Has been cancelled
Tests / vitest (push) Has been cancelled

This commit is contained in:
shamoon
2026-02-03 17:01:44 -08:00
parent 3a6faa3f41
commit 724894a27c
10 changed files with 775 additions and 2 deletions

View File

@@ -1,9 +1,9 @@
import si from "systeminformation";
import createLogger from "utils/logger";
const logger = createLogger("resources");
const si = require("systeminformation");
export default async function handler(req, res) {
const { type, target, interfaceName = "default" } = req.query;