
Product
Unify Your Security Stack with Socket Basics
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
@sap-cloud-sdk/test-util
Advanced tools
This package contains utility functions for testing, like loading credentials or creating test destinations.
$ npm install @sap-cloud-sdk/test-util
The test-util package makes writing tests for your SAP Business Technology Platform application more convenient.
For example, you can create a mock destination for your tests by using the function mockTestDestination
.
import { mockTestDestination } from '@sap-cloud-sdk/test-util';
mockTestDestination('mockDestinationName');
You need to save your system information in local file systems.json
:
{
"systems": [
{
"alias": "mockDestinationName",
"uri": "https://www.example.com"
}
]
}
and credentials.json
:
{
"credentials": [
{
"alias": "SYS_001",
"username": "username",
"password": "password"
}
]
}
The recommended way to get in touch with us is to create an issue on GitHub. Select the issue category Bug, Feature, or Question depending on the nature of your request. We try to provide fixes, features and answers as soon as possible.
If you would like to contribute to the SAP Cloud SDK, please make yourself familiar with our contributing guidelines and follow the given instructions.
The SAP Cloud SDK is released under the Apache License Version 2.0.
FAQs
SAP Cloud SDK for JavaScript test utilities
The npm package @sap-cloud-sdk/test-util receives a total of 14,993 weekly downloads. As such, @sap-cloud-sdk/test-util popularity was classified as popular.
We found that @sap-cloud-sdk/test-util demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
Product
Socket is launching experimental protection for the Hugging Face ecosystem, scanning for malware and malicious payload injections inside model files to prevent silent AI supply chain attacks.
Research
/Security News
The Socket Threat Research Team uncovered a coordinated campaign that floods the Chrome Web Store with 131 rebranded clones of a WhatsApp Web automation extension to spam Brazilian users.