jest-extended 7.x
Use jest-extended v7 matchers with a Jest/Vitest-compatible expect.extend host, and understand the small subset that can be exercised directly without a test runner.
- For
jest-extended@7.0.0- Verified
- 2026-09-08, 3 examples executed
- Package
@modootoday/pmcp-jest-extended@7.0.0
What it covers
- What this package is
- Exported matcher surface
- Directly exercising matchers without a runner
- Setup mistakes to avoid
- What this skill does not cover
One example from this skill
This is the skill's own text, not a summary of it. It runs: that is what verifying means here.
import assert from 'node:assert/strict';
import { toBeArray } from 'jest-extended';
const context = {
utils: {
matcherHint: (hint: string) => hint,
printReceived: (value: unknown) => String(value),
},
};
const isArray = (toBeArray as any).call(context, [1, 2]);
const isNotArray = (toBeArray as any).call(context, 'not an array');
assert.equal(isArray.pass, true);
assert.equal(isNotArray.pass, false);
What it did in the sandbox
Verifying this skill meant installing the package and running code against it with no route out. This is what happened, quoted from the run. The full ledger lists every package examined, including the ones that never became a skill.
-
prepare: huskythe package -
prepare: huskythe package
Getting it
With a subscription:
npx -y @modootoday/pmcp login
npx -y @modootoday/pmcp install @modootoday/pmcp-jest-extended
It installs as a dev dependency of your project, and the MCP server finds it there like any other skill.