make test more meme worthy

This commit is contained in:
Kurt Hutten IrevDev
2022-11-20 09:56:18 +11:00
parent 082730bb2e
commit e5a527b519
2 changed files with 3 additions and 5 deletions

View File

@ -58,12 +58,12 @@ log(5, myVar)`;
"fn funcN = (a, b) => {",
" return a + b",
"}",
"const theVar = 5",
"const myVar = funcN(1, theVar)",
"const theVar = 60",
"const magicNum = funcN(9, theVar)",
].join("\n")
);
expect(withoutStdFns(programMemory, ["funcN"])).toEqual({
root: { theVar: 5, myVar: 6 },
root: { theVar: 60, magicNum: 69 },
});
});
});