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で見る