Skip to content
This repository has been archived by the owner on Jun 2, 2021. It is now read-only.
/ mtn-pay-js Public archive

An unofficial JavaScript/Typescript client package for querying the MTN Mobile Money API

License

Notifications You must be signed in to change notification settings

sopherapps/mtn-pay-js

Repository files navigation

mtn-pay-js Build Status

An unofficial JavaScript/Typescript client package for querying the MTN Mobile Money API

Running Tests

  1. Clone the repo

    git clone https://github.com/sopherapps/mtn-pay-js.git
  2. Enter the directory

    cd mtn-pay-js
  3. Rename the testSetup.example.ts file to testSetup.ts

    mv testSetup.example.ts testSetup.ts
  4. Update the variables in that testSetup.ts file appropriately.

  5. Install dependencies

    npm install
  6. Run npm script for testing

    npm run test

Acknowledgements

This nice post by Carl_Johan Kihl was very helpful when setting up this Typescript project.