You COULD mock the N/x libraries if you download the source and write tests but if you separate your business logic from netsuite logic you'll never NEED to do that
a
Aiden Y.
10/23/2018, 3:36 PM
That makes sense. Thank you Creece. I appreciate your advice.
Aiden Y.
10/23/2018, 3:37 PM
I am assuming your can't really test logic that involves Netsuite search results.
c
creece
10/23/2018, 3:39 PM
not directly, you can mock a return data set and then test that