Update main.test.ts

pull/393/head
dstoffel 3 months ago committed by GitHub
parent 4e6b71f790
commit 1067c2e0fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -39,7 +39,7 @@ describe("filebrowser", async () => {
"", "",
"📂 Serving /root at http://localhost:13339 ", "📂 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", "📝 Logs at /tmp/filebrowser.log",
]); ]);
@ -61,7 +61,7 @@ describe("filebrowser", async () => {
"", "",
"📂 Serving /root at http://localhost:13339 ", "📂 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", "📝 Logs at /tmp/filebrowser.log",
]); ]);
@ -75,7 +75,7 @@ describe("filebrowser", async () => {
const output = await executeScriptInContainer(state, "alpine"); const output = await executeScriptInContainer(state, "alpine");
expect(output.exitCode).toBe(0); expect(output.exitCode).toBe(0);
expect(output.stdout).toEqual([ expect(output.stdout).toEqual([
"\u001B[0;1mInstalling filebrowser ", "\u001b[0;1mInstalling filebrowser ",
"", "",
"🥳 Installation complete! ", "🥳 Installation complete! ",
"", "",
@ -83,7 +83,7 @@ describe("filebrowser", async () => {
"", "",
"📂 Serving /home/coder/project at http://localhost:13339 ", "📂 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", "📝 Logs at /tmp/filebrowser.log",
]); ]);
@ -106,7 +106,7 @@ describe("filebrowser", async () => {
"", "",
"📂 Serving /root at http://localhost:13339 ", "📂 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", "📝 Logs at /tmp/filebrowser.log",
]); ]);

Loading…
Cancel
Save