mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-04 06:37:49 +02:00
JEST: Enable restoreMocks option and fix lint errors (#2333)
* JEST: Enable restoreMocks option and fix lint errors * Fix test\jest\Save.test.ts
This commit is contained in:
@@ -45,7 +45,6 @@ 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