diff --git a/filebrowser/main.test.ts b/filebrowser/main.test.ts index 7dd4972..368075b 100644 --- a/filebrowser/main.test.ts +++ b/filebrowser/main.test.ts @@ -39,7 +39,7 @@ describe("filebrowser", async () => { "", "📂 Serving /root at http://localhost:13339 ", "", - "Running 'filebrowser --noauth --root /root --port 13339' ", + "Running 'filebrowser --noauth --root /root --port 13339 --baseurl ' ", "", "📝 Logs at /tmp/filebrowser.log", ]); @@ -61,7 +61,7 @@ describe("filebrowser", async () => { "", "📂 Serving /root at http://localhost:13339 ", "", - "Running 'filebrowser --noauth --root /root --port 13339 -d .config/filebrowser.db' ", + "Running 'filebrowser --noauth --root /root --port 13339 -d .config/filebrowser.db --baseurl ' ", "", "📝 Logs at /tmp/filebrowser.log", ]); @@ -75,7 +75,7 @@ describe("filebrowser", async () => { const output = await executeScriptInContainer(state, "alpine"); expect(output.exitCode).toBe(0); expect(output.stdout).toEqual([ - "\u001B[0;1mInstalling filebrowser ", + "\u001b[0;1mInstalling filebrowser ", "", "🥳 Installation complete! ", "", @@ -83,7 +83,7 @@ describe("filebrowser", async () => { "", "📂 Serving /home/coder/project at http://localhost:13339 ", "", - "Running 'filebrowser --noauth --root /home/coder/project --port 13339' ", + "Running 'filebrowser --noauth --root /home/coder/project --port 13339 --baseurl ' ", "", "📝 Logs at /tmp/filebrowser.log", ]); @@ -106,7 +106,7 @@ describe("filebrowser", async () => { "", "📂 Serving /root at http://localhost:13339 ", "", - "Running 'filebrowser --noauth --root /root --port 13339' ", + "Running 'filebrowser --noauth --root /root --port 13339 --baseurl /@default/default.main/apps/filebrowser' ", "", "📝 Logs at /tmp/filebrowser.log", ]);