issues
search
testground
/
sdk-js
Other
1
stars
3
forks
source link
feat: add default client when requested by the test case
#22
Closed
laurentsenta
closed
2 years ago
laurentsenta
commented
2 years ago
Fix #21
When a test case expects more than one parameter (runenv), the js sdk will create a default sync client and pass it to the test,
The client will be used as a signal emitter, which makes sure that the test's start, success, and failure events are sent to the sync service.
This mimics the behavior of
InitializedTestCaseFn
in sdk-go.
Fix #21
InitializedTestCaseFn
in sdk-go.