-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #876 from SoprisApps/patch-fix-cli-ava-tests
Fix react-server-cli AVA test issues
- Loading branch information
Showing
5 changed files
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/react-server-cli/test/fixtures/commands/start-basic/options.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"args": ["start"], | ||
"args": ["start", "--port", "8780", "--js-port", "8781"], | ||
"stdoutIncludes": "Started HTML server over HTTP on" | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/react-server-cli/test/fixtures/commands/start-missing-routes/options.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"args": ["start"], | ||
"args": ["start", "--port", "8782", "--js-port", "8783"], | ||
"stderrIncludes": "Failed to load routes file at" | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/react-server-cli/test/fixtures/commands/start-reactserverrc/options.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"args": ["start"], | ||
"args": ["start", "--port", "8784", "--js-port", "8785"], | ||
"stdoutIncludes": "Started HTML server over HTTP on" | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/react-server-cli/test/fixtures/commands/start-routes-with-error/options.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"args": ["start", "--routes-file", "routes.js"], | ||
"args": ["start", "--routes-file", "routes.js", "--port", "8786", "--js-port", "8787"], | ||
"stderrIncludes": "ReferenceError: undeclaredVariable is not defined" | ||
} |