bier hier
bier hier

Reputation: 22580

How to run test in nightwatch?

I just installed git clone https://github.com/nightwatchjs/nightwatch.git and when I run :

npm run unit-tests

from the commandline in windows I get an error:

> ./bin/nightwatch -c test/nightwatch.json

'.' is not recognized as an internal or external command,
operable program or batch file.

Got a sneaky feeling it will work in OSX but can I run this in windows in the commandline?

Upvotes: 1

Views: 2793

Answers (1)

bier hier
bier hier

Reputation: 22580

Found it had to put "node" in front of it.

Upvotes: 1

Related Questions