refactor special tests to remove redundant comments

This commit is contained in:
William Harrison committed 2025-01-13 18:00:00 +08:00
1 parent b159edb6c3
commit 358c3a8b23
1 file changed
-2
-2
View File
@@ -32,8 +32,6 @@ t("Users are limited to one single character subdomain", (t) => {
});
const duplicates = results.filter((result) => results.filter((r) => r.owner === result.owner).length > 1);
// Combine duplicates into multiple strings, only one per user, with list of their domains
const output = duplicates.reduce((acc, curr) => {
if (!acc[curr.owner]) {
acc[curr.owner] = [];