Merge pull request #1946 from PR0M3TH3AN/ai/dead-code-20240123-13702536329573366933

chore(ai): remove dead code (agent)
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2026-01-30 10:05:35 -05:00
commit cc7fe64e90
9 files changed
+13 -89

No files matched your search

+1 -8
View File
@@ -1,7 +1,7 @@
import test from "node:test";
import assert from "node:assert/strict";
import { collectVideoTags, formatTagDisplay } from "../../js/utils/videoTags.js";
import { collectVideoTags } from "../../js/utils/videoTags.js";
test("collectVideoTags dedupes across metadata sources and respects casing", () => {
const video = {
@@ -45,10 +45,3 @@ test("collectVideoTags handles malformed inputs safely", () => {
[],
);
});
test("formatTagDisplay normalizes leading hashes", () => {
assert.equal(formatTagDisplay(" example"), "#example");
assert.equal(formatTagDisplay("##Example"), "#Example");
assert.equal(formatTagDisplay(""), "");
assert.equal(formatTagDisplay(null), "");
});