testing-library

Test npm libraries for wasm-rquickjs compatibility using Rollup and Node.js.

19|2|Updated Jun 13, 2025
One-click install
npx skills add https://github.com/golemcloud/wasm-rquickjs --skill testing-library-golemcloud
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-library
Source: https://github.com/golemcloud/wasm-rquickjs/tree/main/.agents/skills/testing-library
Command: npx skills add https://github.com/golemcloud/wasm-rquickjs --skill testing-library-golemcloud

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires rollup, node, npm, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides a framework for testing third-party npm libraries to ensure compatibility with the wasm-rquickjs runtime and identify any incompatibilities.

Core Features & Use Cases

  • Library Testing: Automated testing of npm libraries using Rollup for bundling and Node.js runner for verification.
  • Test Creation: Creation of focused test scripts to cover different aspects of the library's API.
  • Documentation: Documentation of incompatibilities and behavioral differences in tests/libraries/libraries.md.

Quick Start

Use the testing-library skill to test a specific npm library, e.g., run the command: 'use testing-library test <library-name>'.

Frequently Asked Questions about testing-library

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test npm library compatibility with a WebAssembly QuickJS runtime?

To test npm library compatibility with a wasm-rquickjs runtime, use an automated framework that bundles the library with Rollup and executes verification scripts via a Node.js runner to identify incompatibilities.

What is the best way to identify behavioral differences in third-party JavaScript libraries running on Wasm?

Identifying behavioral differences in JavaScript libraries running on Wasm involves creating focused test scripts covering the library's API and documenting the results to track incompatibilities against the runtime.

Does Rollup support bundling Node.js libraries for Wasm QuickJS compatibility testing?

Yes, Rollup supports bundling Node.js libraries for Wasm QuickJS compatibility testing by packaging the third-party npm dependencies before the Node.js runner executes the verification scripts.

How do I automate npm library testing using a Node.js runner?

Automate npm library testing by configuring a Node.js runner to execute generated test scripts against the bundled output, verifying that the third-party library functions correctly within the wasm-rquickjs environment.

Why does my JavaScript testing workflow fail when checking third-party npm packages for Wasm compatibility?

JavaScript testing workflows fail during Wasm compatibility checks when third-party npm packages use APIs or behaviors unsupported by the wasm-rquickjs runtime, requiring focused test scripts to isolate and document the incompatibilities.