
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
ns-suitescript-mocks
Advanced tools
Collection of mocks that can be used to improve unit-tests for SuiteScript 2.0.
This module contains a collection of mocks that can be used to improve unit-tests for SuiteScript 2.0.
This module is in its early stage and is very opinionated to fit our own needs. We plan to make it more flexible to work with more codebases.
Suggestions are more than welcome 🎊
If you are looking for a way to test your suitescript codebase and this module doesn't fit your use-case, let us know anyway, we'd love to have a setup that works for everyone.
npm i ns-suitescript-mocks --save-dev
jest.init for example)const netsuiteMocks = require('ns-suitescript-mocks')(
{
utils: ('external-librairies-path'),
});
global.define = netsuiteMocks.define;
global.mockups = netsuiteMocks.nsMockups;
Examples can be found in 'Examples folder in repo!'
Any contribution is more than welcome 🎉
We are using Airbnb base style, make sure you have ESLint/Standard plugin on your editor and have autofix enabled.
Feel free to modify and send us a PR, we'll review and hopefully merge it.
Before pushing your code, make sure that the tests are passing (at the moment, we only have eslint).
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details
If you want to contribute and don't know where to start, we label our issues with help wanted or good first issue, feel free to browse the issues and ask for more information.
FAQs
Collection of mocks that can be used to improve unit-tests for SuiteScript 2.0.
The npm package ns-suitescript-mocks receives a total of 45 weekly downloads. As such, ns-suitescript-mocks popularity was classified as not popular.
We found that ns-suitescript-mocks demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.