UNPKG

ns-suitescript-mocks

Version:

Collection of mocks that can be used to improve unit-tests for SuiteScript 2.0.

15 lines (11 loc) 347 B
/** * Tests for a Netsuite error Module * */ const fileUnderTest = require('../../N/error'); describe('Testing error module', () => { it('Should return object with properies available in Netsuite\'s error module ', () => { const expected = { create: expect.any(Function) }; expect(fileUnderTest).toMatchObject(expected); }); });