
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
@datagrok/api-tests
Advanced tools
Automated tests for the [Datagrok JS API](https://datagrok.ai/js-api)
API Tests is a package for the Datagrok platform.
To add tests for Datagrok's JS API:
Create a folder under src/
for your test files (each file typically includes tests for one category)
Get the package dependencies (npm install
)
Import the required utilities (refer to other tests as an example):
import { category, expect, test } from '@datagrok-libraries/utils/src/test';
Write some tests
Import your test files in src/package-test.ts
Publish the package
Open Datagrok and start the console (~
or Windows | Console
)
Launch tests for a category via ApiTests:test(category="category-name")
, e.g., ApiTests:test(category="Layouts")
, or a specific test via ApiTests:test(category="category-name", test="test-name")
, e.g., ApiTests:test(category="Layouts", test="ViewLayout.toJson()")
, and wait for the results
FAQs
Automated tests for the [Datagrok JS API](https://datagrok.ai/js-api)
We found that @datagrok/api-tests 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
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
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.