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