mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-08 00:27:47 +02:00
CLI: Add new command to upload a directory (#2659)
This commit is contained in:
committed by
GitHub
parent
7c6d147ff7
commit
2ab144cff2
@@ -178,9 +178,9 @@ describe("getTabCompletionPossibilities", function () {
|
||||
}
|
||||
});
|
||||
|
||||
it("completes the ls and cd commands", async () => {
|
||||
it("completes the ls, cd and upload commands", async () => {
|
||||
writeFiles();
|
||||
for (const command of ["ls", "cd"]) {
|
||||
for (const command of ["ls", "cd", "upload"]) {
|
||||
const options = await getTabCompletionPossibilities(`${command} `, root);
|
||||
expect(options.sort()).toEqual(["folder1/", "anotherFolder/"].sort());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user