This repository has been archived by the owner on Jun 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
testSetup.example.ts
32 lines (27 loc) · 1.71 KB
/
testSetup.example.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
jest.retryTimes(5);
process.env.TEST_BASE_URL = "The base url for the MTN Mobile money Open API sandbox";
process.env.TEST_COLLECTION_BASE_URL = (
"The base url for the collections product");
process.env.TEST_COLLECTION_AUTH_BASE_URL = (
"The base url for the token endpoint of the collections product");
process.env.TEST_DISBURSEMENT_BASE_URL = (
"The base url for the disbursement product");
process.env.TEST_DISBURSEMENT_AUTH_BASE_URL = (
"The base url for the token endpoint of the disbursement product");
process.env.TEST_REMITTANCE_BASE_URL = (
"The base url for the remittance product");
process.env.TEST_REMITTANCE_AUTH_BASE_URL = (
"The base url for the token endpoint for the remittance product");
process.env.TEST_API_USER_ID = "This can be generated using this very package using sandboxApiUser, the referenceId property";
process.env.TEST_API_KEY = "This can be generated using this very package using sandboxApiUser, the apiKey property"
process.env.TEST_SUBSCRIPTION_KEY_FOR_DISBURSEMENTS = "Your MTN mobile money api subscription key for disbursements product";
process.env.TEST_SUBSCRIPTION_KEY_FOR_COLLECTIONS = "Your MTN mobile money api subscription key for collections product";
process.env.TEST_SUBSCRIPTION_KEY_FOR_REMITTANCES = "Your MTN mobile money api subscription key for remittances product";
process.env.TEST_TARGET_ENVIRONMENT = "sandbox";
process.env.TEST_CURRENCY = "EUR";
process.env.TELEPHONE_FOR_FAILED_TX = "46733123450";
process.env.TELEPHONE_FOR_REJECTED_TX = "46733123451";
process.env.TELEPHONE_FOR_TIMED_OUT_TX = "46733123452";
process.env.TELEPHONE_FOR_SUCCESS_TX_AFTER_30_SECS = "46733123453";
process.env.TELEPHONE_FOR_PENDING_TX = "46733123454";
process.env.TEST_PARTY_ID_TYPE = "MSISDN"