The issue here is that I need to add support for passing in args to functions. Right now it's a huge hack by using arguments. I've got object passing working, but basic arguments do not. This is why the joy.js test fails.
nesly@0.1.0 test /Users/matuzak/workspace/nesly
tap tests/*.js
not ok tests/joy.js ..................................... 1/2
Command: "node" "joy.js"
TAP version 13
not ok 1 TypeError: string is not a function
The issue here is that I need to add support for passing in args to functions. Right now it's a huge hack by using
arguments
. I've got object passing working, but basic arguments do not. This is why thejoy.js
test fails.not ok tests/joy.js ..................................... 1/2 Command: "node" "joy.js" TAP version 13 not ok 1 TypeError: string is not a function
ok tests/sprites.js ..................................... 2/2 total ................................................... 3/4
not ok npm ERR! weird error 1 npm ERR! not ok code 0