mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 08:42:53 +02:00
TESTS: Prevent some test spam (#1126)
This commit is contained in:
@@ -44,6 +44,7 @@ describe("MessageHelpers tests", () => {
|
||||
it("Should not repeatedly send the Icarus message after the player's first bitnode completion", () => {
|
||||
initSourceFiles();
|
||||
Player.sourceFiles.set(1, 1);
|
||||
jest.spyOn(console, "warn").mockImplementation(() => {}); // Prevent test spam
|
||||
Player.queueAugmentation(AugmentationName.TheRedPill);
|
||||
installAugmentations();
|
||||
Player.gainHackingExp(2 ** 200);
|
||||
|
||||
Reference in New Issue
Block a user