mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-09 17:23:53 +01:00
fix test
This commit is contained in:
parent
243cdceb8c
commit
8958046421
@ -240,7 +240,7 @@ export async function determineAllPossibilitiesForTabCompletion(
|
|||||||
|
|
||||||
if (isCommand("connect")) {
|
if (isCommand("connect")) {
|
||||||
// All directly connected and backdoored servers are reachable
|
// All directly connected and backdoored servers are reachable
|
||||||
|
console.log(GetAllServers());
|
||||||
return GetAllServers()
|
return GetAllServers()
|
||||||
.filter(
|
.filter(
|
||||||
(server) =>
|
(server) =>
|
||||||
|
@ -42,10 +42,10 @@ describe("determineAllPossibilitiesForTabCompletion", function () {
|
|||||||
requiredHackingSkill: 1,
|
requiredHackingSkill: 1,
|
||||||
serverGrowth: 3000,
|
serverGrowth: 3000,
|
||||||
});
|
});
|
||||||
Player.getHomeComputer().serversOnNetwork.push(closeServer.ip);
|
Player.getHomeComputer().serversOnNetwork.push(closeServer.hostname);
|
||||||
closeServer.serversOnNetwork.push(Player.getHomeComputer().ip);
|
closeServer.serversOnNetwork.push(Player.getHomeComputer().hostname);
|
||||||
closeServer.serversOnNetwork.push(farServer.ip);
|
closeServer.serversOnNetwork.push(farServer.hostname);
|
||||||
farServer.serversOnNetwork.push(closeServer.ip);
|
farServer.serversOnNetwork.push(closeServer.hostname);
|
||||||
AddToAllServers(closeServer);
|
AddToAllServers(closeServer);
|
||||||
AddToAllServers(farServer);
|
AddToAllServers(farServer);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user