diff --git a/filebrowser/main.test.ts b/filebrowser/main.test.ts index ff1c2fe..7541e65 100644 --- a/filebrowser/main.test.ts +++ b/filebrowser/main.test.ts @@ -31,14 +31,16 @@ 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! ", + "🥳 Installation comlete! ", "", "👷 Starting filebrowser in background... ", "", "📂 Serving /root at http://localhost:13339 ", "", + "Running 'filebrowser --noauth --root /root --port 13339' ", + "", "📝 Logs at /tmp/filebrowser.log", ]); }); @@ -51,14 +53,16 @@ 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! ", + "🥳 Installation comlete! ", "", "👷 Starting filebrowser in background... ", "", "📂 Serving /root at http://localhost:13339 ", "", + "Running 'filebrowser --noauth --root /root --port 13339 -d .config/filebrowser.db' ", + "", "📝 Logs at /tmp/filebrowser.log", ]); }); @@ -73,12 +77,14 @@ describe("filebrowser", async () => { expect(output.stdout).toEqual([ "\u001B[0;1mInstalling filebrowser ", "", - "🥳 Installation complete! ", + "🥳 Installation comlete! ", "", "👷 Starting filebrowser in background... ", "", "📂 Serving /home/coder/project at http://localhost:13339 ", "", + "Running 'filebrowser --noauth --root /home/coder/project --port 13339' ", + "", "📝 Logs at /tmp/filebrowser.log", ]); });