12 lines
373 B
JavaScript
12 lines
373 B
JavaScript
const app = require('vn-loopback/server/server');
|
|
|
|
// #3673 sendSms tests excluded
|
|
xdescribe('sms send()', () => {
|
|
it('should not return status error', async() => {
|
|
const ctx = {req: {accessToken: {userId: 1}}};
|
|
const result = await app.models.Sms.send(ctx, 1105, '123456789', 'My SMS Body');
|
|
|
|
expect(result.status).toBeUndefined();
|
|
});
|
|
});
|