Fix test for removedFunction in singularity

This commit is contained in:
omuretsu 2023-01-02 13:47:04 -05:00
parent 80d751e32b
commit dfa691784c

@ -146,7 +146,9 @@ describe("Netscript RAM Calculation/Generation Tests", function () {
describe("Singularity multiplier checks", () => {
sf4.lvl = 3;
const singFunctions = Object.entries(wrappedNS.singularity).filter(([__, val]) => typeof val === "function");
const singObjects = singFunctions.map(([key, val]) => {
const singObjects = singFunctions
.filter((fn) => !isRemovedFunction(fn))
.map(([key, val]) => {
return {
name: key,
fn: val.bind(ns.singularity),