Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move t.end() calls earlier to avoid confusion
The orderer.js tests contain asynchronous calls that are expected to fail because of the negative tests. Currently the t.end() call is placed at the outside of the callbacks, this results in the error being printed AFTER the success printouts for the test suite. This is confusing when running `gulp test-headless` because errors get printed out after the summary table and it may appear that the test run has failed. Change-Id: I35cee62ed0514a6075f31b50a1d911546e153362 Signed-off-by: Jim Zhang <jzhang@us.ibm.com>
- Loading branch information