Skip to content

Commit

Permalink
Fix help menu tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmy Chen Chen committed Sep 19, 2022
1 parent be77be2 commit 7881ac4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion taqueria-plugin-ligo/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const testContract = (parsedArgs: Opts, sourceFile: string): Promise<TableRow> =

export const test = (parsedArgs: Opts): Promise<void> => {
const sourceFile = parsedArgs.sourceFile;
return testContract(parsedArgs, sourceFile).then(results => [results]).then(sendJsonRes).catch(err =>
return testContract(parsedArgs, sourceFile).then(result => [result]).then(sendJsonRes).catch(err =>
sendAsyncErr(err, false)
);
};
Expand Down
2 changes: 2 additions & 0 deletions tests/e2e/data/help-contents/help-contents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Commands:
taq list-contracts List registered contracts
taq compile Provided by more than one plugin. The option -
-plugin is required.
taq test <sourceFile> Test a smart contract written in LIGO
taq create <template> Create files from pre-existing templates
Options:
Expand Down Expand Up @@ -96,6 +97,7 @@ Commands:
taq list-contracts List registered contracts
taq compile Provided by more than one plugin. The option -
-plugin is required.
taq test <sourceFile> Test a smart contract written in LIGO
taq create <template> Create files from pre-existing templates
Options:
Expand Down
1 change: 1 addition & 0 deletions tests/e2e/data/help-contents/ligo-contents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Commands:
tax to Michelson code, along with its associat
ed storages and parameters files if they are f
ound [aliases: c, compile-ligo]
taq test <sourceFile> Test a smart contract written in LIGO
taq create <template> Create files from pre-existing templates
Options:
Expand Down

0 comments on commit 7881ac4

Please sign in to comment.