Personal Telegram developer console for GitHub
test: keep diagnostics non-sensitive under new menu UX
davoodmehraban89 committed
Oct 2, 2026 at 22:13 UTC
72717e53d6149cdc505547ffb4284383912b4541
1 file changed
+1
-2
test/security.test.js
+1
-2
@@ -124,6 +124,5 @@ test("temporary diagnostic command no longer exposes Telegram ID", async () => {
124
125
assert.equal(res.status, 200);
126
assert.equal(messages.length, 1);
127
- assert.match(messages[0], /فرمان شناخته نشد/);
128
- assert.doesNotMatch(messages[0], /Telegram ID|123/);
127
+ assert.doesNotMatch(messages[0], /Telegram ID|Authorization:|\b123\b/);
128
});