From 59568402170f0871d245a8d186f78c9a53276bd0 Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Sun, 19 Oct 2025 19:57:52 +0100 Subject: [PATCH] Fix tests --- .../sync-client/src/file-operations/file-operations.test.ts | 2 +- sync-server/Dockerfile | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/sync-client/src/file-operations/file-operations.test.ts b/frontend/sync-client/src/file-operations/file-operations.test.ts index 7a7aa959..675fdce1 100644 --- a/frontend/sync-client/src/file-operations/file-operations.test.ts +++ b/frontend/sync-client/src/file-operations/file-operations.test.ts @@ -32,7 +32,7 @@ class FakeFileSystemOperations implements FileSystemOperations { public async listFilesRecursively( _root: RelativePath | undefined ): Promise { - throw new Error("Method not implemented."); + return ["file.md"]; } public async read(_path: RelativePath): Promise { throw new Error("Method not implemented."); diff --git a/sync-server/Dockerfile b/sync-server/Dockerfile index 9993ecd8..cfb76138 100644 --- a/sync-server/Dockerfile +++ b/sync-server/Dockerfile @@ -28,8 +28,6 @@ RUN apt update && \ COPY --from=builder /usr/src/backend/target/release/sync_server /app/sync_server -RUN chmod +x /app/test-entrypoint.sh - VOLUME /data EXPOSE 3000/tcp WORKDIR /data