Skip to content

Commit 276674b

Browse files
Simplify binary path in readme (#1195)
Sorry for the delay here. I appreciate your persistence. This is merged. Thank you. ☮️
1 parent 6cd71b5 commit 276674b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ Using Backstop as a locally installed standalone app looks like this....
667667
npm install backstopjs
668668

669669
# Then, run commands by directly calling the cli
670-
./node_modules/backstopjs/cli/index.js test --config=<myConfigPath>
670+
./node_modules/.bin/backstop test --config=<myConfigPath>
671671
```
672672

673673
The more interesting case is calling backstop from another node app...
@@ -928,14 +928,14 @@ See the next section for running the SMOKE TEST -- Please make sure this is work
928928
Run the following command from your Desktop, home or project directory to check that Backstop will install and run in your environment. _Please make sure you have node version 8 or above. Windows users: Powershell is recommended._
929929
930930
```
931-
mkdir backstopSanityTest; cd backstopSanityTest; npm install backstopjs; node ./node_modules/backstopjs/cli/ init; node ./node_modules/backstopjs/cli/ test
931+
mkdir backstopSanityTest; cd backstopSanityTest; npm install backstopjs; ./node_modules/.bin/backstop init; ./node_modules/.bin/backstop test
932932

933933
```
934934
935935
Here is a sanity test which also uses docker...
936936
937937
```
938-
mkdir backstopSanityTest; cd backstopSanityTest; npm install backstopjs; node ./node_modules/backstopjs/cli/ init; node ./node_modules/backstopjs/cli/ test --docker
938+
mkdir backstopSanityTest; cd backstopSanityTest; npm install backstopjs; ./node_modules/.bin/backstop init; ./node_modules/.bin/backstop test --docker
939939
```
940940
941941
### SMOKE TEST: Are backstop features working ok?

0 commit comments

Comments
 (0)