From 68ddf1d588950048878216ad027783dc0ef90770 Mon Sep 17 00:00:00 2001 From: TheMas3212 Date: Fri, 15 Apr 2022 01:12:05 +1000 Subject: [PATCH] Fix test/jest/Netscript/DynamicRamCalculation.test.js --- test/jest/Netscript/DynamicRamCalculation.test.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/test/jest/Netscript/DynamicRamCalculation.test.js b/test/jest/Netscript/DynamicRamCalculation.test.js index 4170f9ebd..b08e09ba8 100644 --- a/test/jest/Netscript/DynamicRamCalculation.test.js +++ b/test/jest/Netscript/DynamicRamCalculation.test.js @@ -6,7 +6,6 @@ import { getRamCost, RamCostConstants } from "../../../src/Netscript/RamCostGene import { Environment } from "../../../src/Netscript/Environment"; import { RunningScript } from "../../../src/Script/RunningScript"; import { Script } from "../../../src/Script/Script"; -import { SourceFileFlags } from "../../../src/SourceFile/SourceFileFlags"; jest.mock(`!!raw-loader!../NetscriptDefinitions.d.ts`, () => "", { virtual: true, @@ -169,12 +168,6 @@ describe("Netscript Dynamic RAM Calculation/Generation Tests", function () { testEquality(workerScript.dynamicRamUsage, runningScript.ramUsage); } - beforeEach(function () { - for (let i = 0; i < SourceFileFlags.length; ++i) { - SourceFileFlags[i] = 3; - } - }); - describe("Basic Functions", function () { it("hack()", async function () { const f = ["hack"];