Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

test(uninstall): record managed copy digest

haelyra9bec31faf7f3
diff --git a/tests/scripts/uninstall.test.js b/tests/scripts/uninstall.test.js
index f01dc0305..285d2fdae 100644
--- a/tests/scripts/uninstall.test.js
+++ b/tests/scripts/uninstall.test.js
@@ -3,6 +3,7 @@
*/
const assert = require('assert');
+const crypto = require('crypto');
const fs = require('fs');
const os = require('os');
const path = require('path');
@@ -165,6 +166,7 @@ function runTests() {
strategy: 'preserve-relative-path',
ownership: 'managed',
scaffoldOnly: false,
+ contentSha256: crypto.createHash('sha256').update('managed\n').digest('hex'),
},
{
kind: 'merge-json',