Skip to content

armgit / bla

Public Imported from GitHub
0

🛡️ BLA (Blind LLM Agents) — Adversarial defense shield that protects binaries, Electron apps, JS bundles, Python, and WebAssembly against AI reverse-engineering agents like REA. Poison -> Exhaust -> Hallucinate.

chore(test): drop unused seedName in self-seal TDZ regression

qybaihe7b3ba07876ef
diff --git a/tests/self-seal.test.ts b/tests/self-seal.test.ts
index 6d5f7a7..92aee6f 100644
--- a/tests/self-seal.test.ts
+++ b/tests/self-seal.test.ts
@@ -79,7 +79,6 @@ describe("self-seal helper (#40.5)", () => {
// Seed const must appear before the first top-level Object.freeze / LABEL split use.
const seedDecl = on.code.match(/const\s+([A-Za-z_$][\w$]*)\s*=\s*(?:\(\(\d+|\d+\s*\^)/);
expect(seedDecl).toBeTruthy();
- const seedName = seedDecl![1]!;
const seedPos = on.code.indexOf(seedDecl![0]!);
const freezePos = on.code.indexOf("Object.freeze");
expect(seedPos).toBeGreaterThanOrEqual(0);