Skip to content

build(deps): upgrade @types/jasmine to 6 - #2271

Merged
dprevost-LMI merged 1 commit into
webdriverio:mainfrom
dprevost-LMI:v8/jasmine-6-types
Sep 28, 2026
Merged

dprevost-LMI merged 1 commit into
webdriverio:mainfrom
dprevost-LMI:v8/jasmine-6-types

Conversation

@dprevost-LMI

Copy link
Copy Markdown
Collaborator

WebdriverIO v10 @wdio/jasmine-framework uses jasmine ^6.3.0 and @types/jasmine ^6.0.0. Our Jasmine type entry points (expect-webdriverio/jasmine and expect-webdriverio/jasmine-wdio-expect-async) extend the jasmine namespace, so they are now tested against the same types.

Changes

No source or type change was necessary.

Checks

  • npm run checks:all: the Jasmine type tests pass (ts:jasmine: 34 tests, ts:jasmine-global-expect-async: 38 tests)
  • Playgrounds: typecheck, lint and the Jasmine e2e tests (7 of 7 spec files) pass

The Jasmine playground still uses @wdio/jasmine-framework 9 (Jasmine 5 at runtime) until the playgrounds move to WebdriverIO v10 (#2246).

Refs #2247

🤖 Generated with Claude Code

WebdriverIO v10 @wdio/jasmine-framework uses @types/jasmine ^6, so our
Jasmine type entry points are now tested against the same types.

Refs webdriverio#2247

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dprevost-LMI
dprevost-LMI marked this pull request as ready for review September 28, 2026 04:00
@greptile-apps

greptile-apps Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 4/5

[High risk] Upgrades a dev-only type definition dependency.

The PR appears safe to merge, with a non-blocking gap in Jasmine 5 type compatibility coverage.

Findings

  1. P2 Jasmine 5 Type Coverage Lost ▶

Summary

This PR upgrades the root and Jasmine playground development dependency to @types/jasmine 6 and synchronizes both lockfiles.

  • The playground lockfile retains version-5 types for its WebdriverIO 9 framework and installs version-6 types for the playground.
  • The upgrade leaves the published Jasmine declarations without a version-5 type-check gate.

Reviews (1) · Last reviewed commit: "build(deps): upgrade @types/jasmine to 6"

Comment thread package.json Resolved
@dprevost-LMI
dprevost-LMI merged commit 6a55efa into webdriverio:main Sep 28, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant