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