tm-notification
Version:
This is the package exposing methods for the notification service
18 lines (16 loc) • 552 B
JavaScript
;
require("dotenv").config({});
const smsBuilder = new (require("../index")).SMSBuilder();
describe('# Test SMS', () => {
it('Should send sms', async function () {
jest.setTimeout(50000);
const builder = smsBuilder.startBuild()
.setRecipients("07038102474")
.setProvider("smpp")
.setMessage("Test message")
.setSender("TM30");
const response = await builder.send();
console.log("Response", response);
expect(response).not.toBeNull();
});
});