fix test suite

This commit is contained in:
Olivier Gagnon
2022-07-21 02:13:47 -04:00
parent d01fd55bde
commit 43b8cfec5c
7 changed files with 71 additions and 71 deletions
-10
View File
@@ -2425,16 +2425,6 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS {
getFavorToDonate: () => (): number => {
return Math.floor(CONSTANTS.BaseFavorToDonate * BitNodeMultipliers.RepToDonateToFaction);
},
getOwnedSourceFiles: () => (): SourceFileLvl[] => {
const res: SourceFileLvl[] = [];
for (let i = 0; i < Player.sourceFiles.length; ++i) {
res.push({
n: Player.sourceFiles[i].n,
lvl: Player.sourceFiles[i].lvl,
});
}
return res;
},
getPlayer: () => (): INetscriptPlayer => {
const data = {
hacking: Player.hacking,