ns-suitescript-mocks
Version:
Collection of mocks that can be used to improve unit-tests for SuiteScript 2.0.
17 lines (13 loc) • 355 B
JavaScript
/**
* Tests for a Netsuite email Module
*
*/
const fileUnderTest = require('../../N/email');
describe('Testing email module', () => {
it('Should return object with properies available in Netsuite\'s email module', () => {
const expected = {
send: expect.any(Function),
};
expect(fileUnderTest).toMatchObject(expected);
});
});