mirror of
https://github.com/Vencord/Vesktop.git
synced 2026-11-20 00:51:15 -08:00
16 lines
513 B
JavaScript
16 lines
513 B
JavaScript
/**
|
|
* @type {typeof import(".")}
|
|
*/
|
|
const libVesktop = require(".");
|
|
const test = require("node:test");
|
|
const assert = require("node:assert/strict");
|
|
|
|
test("requestBackground should return true (success)", () => {
|
|
assert.strictEqual(libVesktop.requestBackground(true, ["bash"]), true);
|
|
assert.strictEqual(libVesktop.requestBackground(false, []), true);
|
|
});
|
|
|
|
test("isStatusNotifierHostRegistered should return true", () => {
|
|
assert.strictEqual(libVesktop.isStatusNotifierHostRegistered(), true);
|
|
});
|