Packages

@clerk/testing

2.3.4 · 19 Nov 2026MIT2.1M / weekRepositoryHomepagenpmAtom feed

Your version

2.0.0

major3 Mar 2026Where it was published

2.3.6 is the newest release of 2.x.

In short

1 breaking1 new2 fixed2 internal

  • Breaking

    Require Node.js 20.9.0 in all packages

Release note

Major Changes

  • Breaking

    Require Node.js 20.9.0 in all packages

Minor Changes

  • Export createAgentTestingTask helper for creating agent tasks via the Clerk Backend API from both @clerk/testing/playwright and @clerk/testing/cypress subpaths.

Patch Changes

  • Fix toBeSignedOut test-helper so it only resolves when user === null. It previously resolved for any falsy value, which could give false positives when Clerk had not loaded yet, or during auth-state changes.

  • Improved keyless selectors.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.