freeCodeCamp / COM1000

freeCodeCamp's deprecated challenge editor
19 stars 16 forks source link

Tape tests #10

Closed terakilobyte closed 8 years ago

terakilobyte commented 8 years ago

Closes #9

terakilobyte commented 8 years ago

Updated.

SaintPeter commented 8 years ago

Can't seem to get this to work on Windows. Will try again with Cygwin.

SaintPeter commented 8 years ago

Tested in CygWin:

Rex@Rextastic /cygdrive/d/mean/COM1000
$ npm test

> COM1000@0.0.0 test D:\mean\COM1000
> node node_modules/.bin/babel-tape-runner tests/**/*.js | faucet

D:\mean\COM1000\node_modules\.bin\babel-tape-runner:4
# case `uname` in
^

SyntaxError: Unexpected token ILLEGAL
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:414:25)
    at Object.Module._extensions..js (module.js:442:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Function.Module.runMain (module.js:467:10)
    at startup (node.js:136:18)
    at node.js:963:3
not ok 1 no plan found
not ok 2 no assertions found
⨯ fail  2
npm ERR! Test failed.  See above for more details.

No idea what is going on here.

terakilobyte commented 8 years ago

Yeah not sure, I'd suggest opening an issue against tape/babel-tape-runner that their software isn't working under windows.