Skip to content

Fix API demo build test file exclusion#11614

Open
markdalgleish wants to merge 1 commit into
mainfrom
markdalgleish/fix-api-demo-build-test-file-exclusion
Open

Fix API demo build test file exclusion#11614
markdalgleish wants to merge 1 commit into
mainfrom
markdalgleish/fix-api-demo-build-test-file-exclusion

Conversation

@markdalgleish

Copy link
Copy Markdown
Member

The API demo build already tries to avoid copying test files into api/build/demos, but the existing check only excludes files ending in .test.ts. That means test files ending in .test.tsx, .test.e2e.* and .test.browser.* can still be copied over and break the root-level remix test run.

This PR updates the existing exclusion to cover the full Remix test filename pattern:

  • *.test.ts
  • *.test.tsx
  • *.test.browser.ts
  • *.test.browser.tsx
  • *.test.e2e.ts
  • *.test.e2e.tsx

Assisted-By: devx/736eb933-67ae-479f-9645-77d52ca85a90
@markdalgleish markdalgleish self-assigned this Jul 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Preview Build Available

A preview build has been created for this PR. You can install it using:

pnpm install "remix-run/remix#preview/pr-11614&path:packages/remix"

This preview build will be updated automatically as you push new commits.

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