-
Notifications
You must be signed in to change notification settings - Fork 9
Rowdy throws error if used in strict mode #48
Comments
@benbayard -- Holla! Can you get me a reproduction within this repo (against one of the |
@ryan-roemer let me try. |
Hey @ryan-roemer ! Yes, I can reproduce this with an example. Changing produces the same error above in the before all hook. Here is the output from
|
@benbayard -- It looks like the issue is that UPDATE: Hopefully we can just wait on that and update portscanner... |
... but that PR is old and unmerged. If you can suggest a new lib / code snippet to detect if a server is listening already on a port, I can swap it out for |
Update: portscanner has updated async to 1.5.2. Released a new minor version 1.1.0. |
So, the portscanner thing is fixed on just a reinstall (picking up minor), but $ npm run test-wd-default-config -- --use_strict
> rowdy@0.5.0 test-wd-default-config /Users/rye/scm/fmd/rowdy
> cd examples/mocha/wd && mocha "--use_strict"
/Users/rye/scm/fmd/rowdy/node_modules/vargs/lib/vargs.js:24
exports.Constructor = function Vargs(arguments) {
^^^^^^^^^
SyntaxError: Unexpected eval or arguments in strict mode Oh, and for anyone watching along, you can repro this on the unchanged repo with: $ npm run test-wd-default-config -- --use_strict More info:
|
OK, so Closing! @benbayard -- Let me know if anything else crops up! |
If you supply mocha/node with the
--use_strict
flag, rowdy throws the following error:The text was updated successfully, but these errors were encountered: