Skip to main content

run-pinpoint-node-agent

Run the pinpoint-node-agent test suite, a single test file, lint, or coverage locally. Use when asked to run, test, lint, or check coverage for the agent, or to confirm a change works before a PR. Library package; Tape tests, testcontainers for integration tests.

来源信息

仓库
pinpoint-apm/pinpoint-node-agent
最近来源活动
2026年9月30日 04:48
检测到的 SKILL.md 语言
英语
星标
63
分支
11

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
run-pinpoint-node-agent
description
Run the pinpoint-node-agent test suite, a single test file, lint, or coverage locally. Use when asked to run, test, lint, or check coverage for the agent, or to confirm a change works before a PR. Library package; Tape tests, testcontainers for integration tests.
# Run pinpoint-node-agent pinpoint-node-agent is a library, not a server. "Running" it means running its Tape tests. Run commands from the repo root. ## Prerequisites - `npm install` done. - Docker running for integration tests in `test/instrumentation/module/` (testcontainers: MongoDB, MySQL, PostgreSQL, Redis). ## Tests ```bash # Single file, while iterating npx tape test/path/to/file.test.js # Files matching a pattern npx tape -i .testignore 'test/instrumentation/**/*.test.js' # Full suite, before a PR npm test ``` ## Lint ```bash npm run lint ``` Writes results to `checkstyle-result.xml` and always exits 0, so read the file to see violations. ## Coverage ```bash npm run coverage ``` nyc prints a text summary and writes lcov to `coverage/`.
在 GitHub 查看