Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@datagrok/api-tests
Advanced tools
Automated tests for the [Datagrok JS API](https://datagrok.ai/js-api)
ApiTests 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 0 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.