For testing SuiteScript, the NetSuite debugger is great to see how code interacts within the NetSuite environment. For unit testing, Jest is a solid choice. I’ve got a GitHub project template that sets up a Jest testing environment for SuiteScript, which could streamline your testing process. Feel free to check it out and I hope it helps you as much as it’s helped others!
NetSuite CustomModules Template:
https://github.com/devnetkc/NetSuite-CustomModules-Template