Skip to content

Commit 0cfe87c

Browse files
[autofix.ci] apply automated fixes
1 parent 7998b29 commit 0cfe87c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

apps/dokploy/__test__/requests/request.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ describe("processLogs", () => {
5757

5858
it("should filter out Dokploy dashboard requests", () => {
5959
const dokployDashboardEntry = `{"ClientAddr":"172.71.187.131:9485","ClientHost":"172.71.187.131","ClientPort":"9485","ClientUsername":"-","DownstreamContentSize":14550,"DownstreamStatus":200,"Duration":57681682,"OriginContentSize":14550,"OriginDuration":57612242,"OriginStatus":200,"Overhead":69440,"RequestAddr":"hostinger.dokploy.com","RequestContentSize":0,"RequestCount":20142,"RequestHost":"hostinger.dokploy.com","RequestMethod":"GET","RequestPath":"/_next/data/cb_zzI4Rp9G7Q7djrFKh0/en/dashboard/traefik.json","RequestPort":"-","RequestProtocol":"HTTP/2.0","RequestScheme":"https","RetryAttempts":0,"RouterName":"dokploy-router-app-secure@file","ServiceAddr":"dokploy:3000","ServiceName":"dokploy-service-app@file","ServiceURL":"http://dokploy:3000","StartLocal":"2025-12-10T05:10:41.957755949Z","StartUTC":"2025-12-10T05:10:41.957755949Z","TLSCipher":"TLS_AES_128_GCM_SHA256","TLSVersion":"1.3","entryPointName":"websecure","level":"info","msg":"","time":"2025-12-10T05:10:42Z"}`;
60-
60+
6161
// Test with only Dokploy dashboard entry - should be filtered out
6262
const resultOnlyDokploy = parseRawConfig(dokployDashboardEntry);
6363
expect(resultOnlyDokploy.data).toHaveLength(0);
@@ -68,6 +68,8 @@ describe("processLogs", () => {
6868
const resultMixed = parseRawConfig(mixedEntries);
6969
expect(resultMixed.data).toHaveLength(1);
7070
expect(resultMixed.totalCount).toBe(1);
71-
expect(resultMixed.data[0]?.ServiceName).not.toBe("dokploy-service-app@file");
71+
expect(resultMixed.data[0]?.ServiceName).not.toBe(
72+
"dokploy-service-app@file",
73+
);
7274
});
7375
});

0 commit comments

Comments
 (0)