// presenceLabel: the room they offer beats the app they idle in.
import test from "node:test";
import assert from "node:assert/strict";
import { boot, vectors } from "./harness.mjs";
const { lib } = await boot();
const v = vectors("presence-label");
test("SUITE_APPS is the table the fixture was recorded against", async () => {
const kit = await import("ardegazu-social-kit");
assert.deepEqual(JSON.parse(JSON.stringify(kit.SUITE_APPS)), v.SUITE_APPS);
});
test("presenceLabel over every recorded case", () => {
v.script.forEach((info, i) => {
assert.equal(lib.presenceLabel(info), v.out[i], `case ${i}: ${JSON.stringify(info)}`);
});
});