mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
CODEBASE: Suppress false-positive console errors caused by RamCalculation.test.ts (#2002)
This commit is contained in:
@@ -26,6 +26,7 @@ function grabCost<API>(ramEntry: RamCostTree<API>[keyof API]) {
|
||||
|
||||
describe("Netscript RAM Calculation/Generation Tests", function () {
|
||||
jest.spyOn(console, "warn").mockImplementation(() => {});
|
||||
jest.spyOn(console, "error").mockImplementation(() => {});
|
||||
Player.sourceFiles.set(4, 3);
|
||||
// For simulating costs of singularity functions.
|
||||
const baseCost = RamCostConstants.Base;
|
||||
|
||||
Reference in New Issue
Block a user