-
Notifications
You must be signed in to change notification settings - Fork 515
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FABN-1336 NodeSDK typescript test fails
Default for asLocalhost is now false and the typesript tests needed to be adjusted. The overall gulp tests were missing the integration testing due to a change in checking for HSM. Added various debug to help in the debug that will be left for future debugging of field issues. Signed-off-by: Bret Harrison <[email protected]> Change-Id: Idc697e5f1e37908ba876efee4fc395c49630e262
- Loading branch information
Showing
5 changed files
with
67 additions
and
24 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
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
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
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
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 |
---|---|---|
|
@@ -124,6 +124,10 @@ test('\n\n***** Network End-to-end flow: invoke transaction to move money using | |
try { | ||
const contract = await createContract(t, gateway, { | ||
clientTlsIdentity: 'tlsId', | ||
discovery: { | ||
asLocalhost: true, | ||
enabled: true, | ||
}, | ||
identity: '[email protected]', | ||
wallet: inMemoryWallet, | ||
}); | ||
|
@@ -424,6 +428,10 @@ test('\n\n***** Network End-to-end flow: invoke transaction to move money using | |
try { | ||
const contract = await createContract(t, gateway, { | ||
clientTlsIdentity: 'tlsId', | ||
discovery: { | ||
asLocalhost: true, | ||
enabled: true, | ||
}, | ||
eventHandlerOptions: { | ||
strategy: DefaultEventHandlerStrategies.NETWORK_SCOPE_ALLFORTX, | ||
}, | ||
|
@@ -552,6 +560,10 @@ test('\n\n***** Network End-to-end flow: invoke transaction to move money using | |
try { | ||
const contract = await createContract(t, gateway, { | ||
clientTlsIdentity: 'tlsId', | ||
discovery: { | ||
asLocalhost: true, | ||
enabled: true, | ||
}, | ||
eventHandlerOptions: { | ||
strategy: DefaultEventHandlerStrategies.NETWORK_SCOPE_ANYFORTX, | ||
}, | ||
|