Skip to content

fix: resolve deprecation warnings in example test runs - #98

Merged
sheremet-va merged 1 commit into
mainfrom
fix/test-warnings
Jul 29, 2026
Merged

fix: resolve deprecation warnings in example test runs#98
sheremet-va merged 1 commit into
mainfrom
fix/test-warnings

Conversation

@sheremet-va

Copy link
Copy Markdown
Contributor

Running pnpm test printed deprecation warnings in 6 of 7 examples, mostly from plugins predating Vite 8 / Rolldown.

  • preact/react/svelte: bump @preact/preset-vite, @vitejs/plugin-react, @sveltejs/vite-plugin-svelte to Rolldown-aware versions (drops deprecated esbuild/optimizeDeps.esbuildOptions warnings)
  • qwik: bump to 1.20 (fixes wasm init warning) and set oxc: false, the Rolldown equivalent of the esbuild: false the plugin sets
  • solid: replace deprecated solid-testing-library with @solidjs/testing-library and pass a component function to render() (fixes createRoot warning)
  • vanilla: remove leftover debug import of deprecated vitest/suite

pnpm test now runs warning-free, all 7 suites pass.

@sheremet-va
sheremet-va merged commit e652ce2 into main Jul 29, 2026
3 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