Skip to content

test: Replace itTurbopack with test gates - #101195

Merged
mischnic merged 2 commits into
canaryfrom
mischnic/tests-turbopack-gate
Nov 6, 2026
Merged

mischnic merged 2 commits into
canaryfrom
mischnic/tests-turbopack-gate

Conversation

@mischnic

@mischnic mischnic commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Migrating more to @gate

@github-actions github-actions Bot added created-by: Turbopack team PRs by the Turbopack team. tests labels Nov 5, 2026
@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Tests Passed

Commit: 61fd131

@mischnic
mischnic merged commit 177af7c into canary Nov 6, 2026
126 checks passed
@mischnic
mischnic deleted the mischnic/tests-turbopack-gate branch November 6, 2026 07:37
mischnic added a commit that referenced this pull request Nov 6, 2026
## Summary

Stacked on #101195.

Enable all five HMR dependency accept/decline tests for both Webpack and
Turbopack without bundler-specific gates. The ESM fixtures now register
the equivalent `import.meta.webpackHot` calls alongside
`import.meta.turbopackHot`; the CommonJS fixture already works with both
bundlers. The `test/development/` directory already limits the suite to
development mode, so no explicit development gate is needed.

Strengthen the decline tests to verify that window state is cleared,
distinguishing a full page reload from Fast Refresh.

## Verification

- All five cases pass with both bundlers.
- TypeScript, ESLint, and Prettier checks pass.

<!-- NEXT_JS_LLM -->

<!-- fleet 5ee3f00a-6703-434b-8167-e7fa79dee47e -->

---------

Co-authored-by: vercel-fleet-prod[bot] <318278635+vercel-fleet-prod[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

created-by: Turbopack team PRs by the Turbopack team. tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants