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