Skip to content

chore(ui): use @vitest/runner types#7248

Closed
userquin wants to merge 1 commit intomainfrom
userquin/chore-vitest-runner-types
Closed

chore(ui): use @vitest/runner types#7248
userquin wants to merge 1 commit intomainfrom
userquin/chore-vitest-runner-types

Conversation

@userquin
Copy link
Copy Markdown
Member

@userquin userquin commented Jan 14, 2025

Description

This PR replaces all deprecated imports from vitest with @vitest/runner and updates useResizeObserver usage.

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
  • Ideally, include a test that fails without this PR but passes with it.
  • Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.

Tests

  • Run the tests with pnpm test:ci.

Documentation

  • If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

  • Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

@sheremet-va
Copy link
Copy Markdown
Member

sheremet-va commented Jan 14, 2025

why vitest/runner? the deprecation message says you need to use "RunnerTaskFile"/"RunnerTaskSuite" etc

@userquin
Copy link
Copy Markdown
Member Author

userquin commented Jan 14, 2025

I just replace deprecated imports.

@userquin
Copy link
Copy Markdown
Member Author

Ok, I'm going to use the new types.

@userquin userquin closed this Jan 14, 2025
@userquin userquin deleted the userquin/chore-vitest-runner-types branch January 14, 2025 18:33
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.

2 participants