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