1.0.12 • Published 4 years ago
gaudi-tests v1.0.12
Gaudi Tests Scripts
Contains manual test for the current gaudi services we use. The tests are in the same format we send the data to gaudi system in the @secll/interface-resource They can be tested all or run one by one from the terminal following their descriptions.
Testing
Run the module via npm
$ npm test
If function needs additional data:
data: {
clientRef: GaudiClientRef,
relationshipRef: GaudiRelationshipRef,
nominationRef: GaudiNominationRef,
contribution: GaudiResponse,
welcomePack: GaudiResponse
}
Where the values can be retrieved from running the services and being logged in the terminal
testType = 'newContribution' || 'addContribution' || 'productTransfer'
To retrieve gaudi service call:
client.describe()
And to retrieve the service constants call:
client.wsdl.definitions.descriptions.types
See newMember function for example