mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
BUGFIX: Darknet state is not reset properly on prestige (#2486)
This commit is contained in:
@@ -1298,6 +1298,12 @@ describe("lab location methods", () => {
|
||||
});
|
||||
test("dnet.labradar()", async () => {
|
||||
const ns = getNsOnServerNearLabyrinth();
|
||||
|
||||
// Make sure we are at the starting point.
|
||||
const locationStatus = (await ns.dnet.labreport()) as LocationStatus;
|
||||
expect(isLocationStatus(locationStatus)).toBe(true);
|
||||
expect(locationStatus.coords).toStrictEqual([1, 1]);
|
||||
|
||||
const response = (await ns.dnet.labradar()) as Result;
|
||||
assertNonNullish(response.message);
|
||||
const surroundingsString = response.message.split("\n");
|
||||
|
||||
Reference in New Issue
Block a user