I'm fairly certain I have something configured just slightly incorrectly, but am having tunnel vision.
My tests "pass", but I'm getting an error when the testem.js file is included. If I create a html file, then the tests pass, but the browser never closes -- if I add in the /testem.js script, I receive the same error as below.
Here is my test output:
global failure (1, 0, 1)Rerun2 ms
SyntaxError: missing } after function body
Source:
If I view source, then look at testem this is the output I receive:
;(function(){// Error reading /home/scott/testem-sample/node_modules/grunt-testem/node_modules/testem-multi/lib/../node_modules/testem/public/testem/socket.io.js: Error: ENOENT, open '/home/scott/testem-sample/node_modules/grunt-testem/node_modules/testem-multi/lib/../node_modules/testem/public/testem/socket.io.js'// Error reading /home/scott/testem-sample/node_modules/grunt-testem/node_modules/testem-multi/lib/../node_modules/testem/public/testem/json2.js: Error: ENOENT, open '/home/scott/testem-sample/node_modules/grunt-testem/node_modules/testem-multi/lib/../node_modules/testem/public/testem/json2.js'// Error reading /home/scott/testem-sample/node_modules/grunt-testem/node_modules/testem-multi/lib/../node_modules/testem/public/testem/jasmine_adapter.js: Error: ENOENT, open '/home/scott/testem-sample/node_modules/grunt-testem/node_modules/testem-multi/lib/../node_modules/testem/public/testem/jasmine_adapter.js'// Error reading /home/scott/testem-sample/node_modules/grunt-testem/node_modules/testem-multi/lib/../node_modules/testem/public/testem/jasmine2_adapter.js: Error: ENOENT, open '/home/scott/testem-sample/node_modules/grunt-testem/node_modules/testem-multi/lib/../node_modules/testem/public/testem/jasmine2_adapter.js'// Error reading /home/scott/testem-sample/node_modules/grunt-testem/node_modules/testem-multi/lib/../node_modules/testem/public/testem/qunit_adapter.js: Error: ENOENT, open '/home/scott/testem-sample/node_modules/grunt-testem/node_modules/testem-multi/lib/../node_modules/testem/public/testem/qunit_adapter.js'// Error reading /home/scott/testem-sample/node_modules/grunt-testem/node_modules/testem-multi/lib/../node_modules/testem/public/testem/mocha_adapter.js: Error: ENOENT, open '/home/scott/testem-sample/node_modules/grunt-testem/node_modules/testem-multi/lib/../node_modules/testem/public/testem/mocha_adapter.js'// Error reading /home/scott/testem-sample/node_modules/grunt-testem/node_modules/testem-multi/lib/../node_modules/testem/public/testem/buster_adapter.js: Error: ENOENT, open '/home/scott/testem-sample/node_modules/grunt-testem/node_modules/testem-multi/lib/../node_modules/testem/public/testem/buster_adapter.js'// Error reading /home/scott/testem-sample/node_modules/grunt-testem/node_modules/testem-multi/lib/../node_modules/testem/public/testem/testem_client.js: Error: ENOENT, open '/home/scott/testem-sample/node_modules/grunt-testem/node_modules/testem-multi/lib/../node_modules/testem/public/testem/testem_client.js'// Error reading /home/scott/testem-sample/node_modules/grunt-testem/node_modules/testem-multi/lib/../node_modules/testem/public/testem/../../../../public/testem/istanbul_coverage.js: Error: ENOENT, open '/home/scott/testem-sample/node_modules/grunt-testem/node_modules/testem-multi/lib/../node_modules/testem/public/testem/../../../../public/testem/istanbul_coverage.js'}());
Note: this fails even if I take out the usage of istanbul and simply use standard js file.