Skip to content

feat: ignore files with + prefix if they contain test/spec/stories - #16715

Merged
Rich-Harris merged 3 commits into
version-3from
ignore-test-files
Aug 10, 2026
Merged

Rich-Harris merged 3 commits into
version-3from
ignore-test-files

Conversation

@Rich-Harris

Copy link
Copy Markdown
Member

Simpler alternative to #13009. We decided it's probably fine — and presents less risk of forcing breaking changes on us in future — to just hardcode this list. If that turns out to be the wrong decision we can easily add configuration like router.ignore as proposed in #13009 (comment), but for now this seems like the easier option.

Closes #13008


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

Tests

  • Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

  • If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Edits

  • Please ensure that 'Allow edits from maintainers' is checked. PRs without this option may be closed.

@pkg-svelte-dev

ghost commented Aug 10, 2026 •

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from 2baed85:

pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/2baed859ce4fc2e6d452fe4e1a00ad22878cfc10

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/kit/pr/16715

@changeset-bot

ghost commented Aug 10, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 2baed85

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sveltejs/kit Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@svelte-docs-bot

ghost commented Aug 10, 2026

Copy link
Copy Markdown

@Rich-Harris
Rich-Harris merged commit 04f9ab4 into version-3 Aug 10, 2026
@Rich-Harris
Rich-Harris deleted the ignore-test-files branch August 10, 2026 20:57
This was referenced Aug 10, 2026
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.

Ignore +server.test.ts and similar files

2 participants