mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-02-18 02:43:44 +01:00
Fix test for removedFunction in singularity
This commit is contained in:
@ -146,7 +146,9 @@ describe("Netscript RAM Calculation/Generation Tests", function () {
|
|||||||
describe("Singularity multiplier checks", () => {
|
describe("Singularity multiplier checks", () => {
|
||||||
sf4.lvl = 3;
|
sf4.lvl = 3;
|
||||||
const singFunctions = Object.entries(wrappedNS.singularity).filter(([__, val]) => typeof val === "function");
|
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 {
|
return {
|
||||||
name: key,
|
name: key,
|
||||||
fn: val.bind(ns.singularity),
|
fn: val.bind(ns.singularity),
|
||||||
|
Reference in New Issue
Block a user