Skip to content

Conversation

@webJose
Copy link
Contributor

@webJose webJose commented Nov 19, 2025

No description provided.

@webJose webJose requested a review from Copilot November 19, 2025 06:19
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a $test alias in the SvelteKit configuration to improve import paths for test utilities and components. The alias maps to src/testing, replacing relative paths like ../../testing/ with the cleaner $test/ prefix across all test files and documentation.

  • Adds $test alias configuration in svelte.config.js pointing to src/testing
  • Updates all test file imports to use the new $test alias
  • Updates documentation examples in AGENTS.md to reflect the new import pattern

Reviewed Changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated no comments.

Show a summary per file
File Description
svelte.config.js Adds the $test alias configuration mapping to src/testing directory
src/lib/utils.test.ts Replaces relative import path with $test alias
src/lib/kernel/calculateState.test.ts Replaces relative import path with $test alias
src/lib/kernel/calculateHref.test.ts Replaces relative import path with $test alias
src/lib/kernel/StockHistoryApi.svelte.test.ts Replaces relative import path with $test alias
src/lib/kernel/RouterEngine.svelte.test.ts Replaces relative import path with $test alias
src/lib/kernel/LocationLite.svelte.test.ts Replaces relative import path with $test alias
src/lib/kernel/LocationFull.test.ts Replaces relative import path with $test alias
src/lib/kernel/InterceptedHistoryApi.svelte.test.ts Replaces relative import path with $test alias
src/lib/behaviors/active.svelte.test.ts Replaces relative import path with $test alias
src/lib/Router/Router.svelte.test.ts Replaces relative import path with $test alias
src/lib/Route/Route.svelte.test.ts Replaces relative import paths with $test alias
src/lib/LinkContext/LinkContext.svelte.test.ts Replaces relative import path with $test alias
src/lib/Link/Link.svelte.test.ts Replaces relative import path with $test alias
src/lib/Fallback/Fallback.svelte.test.ts Replaces relative import path with $test alias
AGENTS.md Updates documentation examples to use $test alias instead of relative paths

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@webJose webJose merged commit 56b92ec into main Nov 19, 2025
1 check passed
@webJose webJose deleted the JP/Chores branch November 19, 2025 06:21
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