mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-25 00:53:52 +01:00
Fix test for removedFunction in singularity
This commit is contained in:
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),
|
||||
|
Loading…
Reference in New Issue
Block a user