mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 06:48:42 +02:00
Resolved more circular dependencies. Installed acorn-walk and imported it in RamCalculations using ES6 modules. Fixed bugs in stock market rework
This commit is contained in:
17
test/Netscript/StaticRamCalculationTests.js
Normal file
17
test/Netscript/StaticRamCalculationTests.js
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* TODO This should also test the calcualteRamUsage() function from
|
||||
* /Script/RamCalculations but there's some issues with getting tests to run
|
||||
* when any npm package is included in the build (/Script/RamCalculations includes
|
||||
* walk from acorn).
|
||||
*/
|
||||
import { getRamCost } from "../../src/Netscript/RamCostGenerator";
|
||||
//import { calculateRamUsage } from "../../src/Script/RamCalculations"
|
||||
|
||||
const assert = chai.assert;
|
||||
const expect = chai.expect;
|
||||
|
||||
console.log("Beginning Netscript Static RAM Calculation/Generation Tests");
|
||||
|
||||
describe("Netscript Static RAM Calculation/Generation Tests", function() {
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user