terraphim / terraphim/terraphim-ai

Svelte 5 Migration: Update test suite compatibility

Open
#189 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
62
Forks
5
Avg merge
2h 27m
Merged PRs (30d)
1

Description

Issue

Frontend tests are failing due to Svelte 5 compatibility issues with testing libraries.

Current Status

  • Updated @testing-library/svelte from 4.2.3 to 5.2.8
  • Many tests still failing due to Svelte 5 API changes
  • Need comprehensive test suite migration

Test Results

  • 44 failed, 54 passed in current state
  • Issues related to component rendering and event handling

Required Actions

  • Update all test files to use Svelte 5 testing patterns
  • Replace deprecated testing methods
  • Update component test fixtures
  • Validate test coverage after migration

Impact

Blocker for release testing - needs resolution before open source release.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the frontend test suite and review the 44 failing tests for Svelte 5 compatibility issues in component rendering and event handling. Update the test files, deprecated methods, and component fixtures as needed; done means the suite passes and test coverage is validated.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.