This repository was archived by the owner on Feb 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
truffle/test/scenarios/commands Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -324,7 +324,9 @@ const displayGeneralHelp = options => {
324
324
OS . EOL +
325
325
"Usage: truffle <command> [options]"
326
326
)
327
- . epilog ( "See more at http://trufflesuite.com/docs" )
327
+ . epilog ( "See more at https://trufflesuite.com/docs/" +
328
+ OS . EOL +
329
+ "For Ethereum JSON-RPC documentation see https://ganache.dev" )
328
330
// showHelp prints using console.error, this won't log in a
329
331
// child process - "log" forces it to use console.log instead
330
332
. showHelp ( "log" ) ;
Original file line number Diff line number Diff line change @@ -16,6 +16,13 @@ describe("truffle help [ @standalone ]", function () {
16
16
const output = logger . contents ( ) ;
17
17
assert ( output . includes ( "Usage: truffle <command> [options]" ) ) ;
18
18
} ) ;
19
+
20
+ it ( "includes link to https://ganache.dev" , async function ( ) {
21
+ this . timeout ( 10000 ) ;
22
+ await CommandRunner . run ( "help" , config ) ;
23
+ const output = logger . contents ( ) ;
24
+ assert ( output . includes ( "For Ethereum JSON-RPC documentation see https://ganache.dev" ) ) ;
25
+ } ) ;
19
26
} ) ;
20
27
21
28
describe ( "when run with an argument" , function ( ) {
You can’t perform that action at this time.
0 commit comments