Merged
Conversation
|
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
petebacondarwin
approved these changes
Feb 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #12346
Part of a series (#12347, #12356, #12373, #12385, #12403, #12412) handling simple refactors, one package at a time to keep the review simpler.
This PR handles bucket 3 out of 4 of the wrangler package.
Code was created by OpenNext/Opus:
Overview
Bucket 3 migration for the
no-vitest-import-expectESLint rule. Migration involved converting trivial files to use{ expect }from test context and adding eslint-disable comments to complex files.All Changed Files (41 files)
ESLint Configuration
packages/wrangler/eslint.config.mjs- Added bucket 3 patternversions/(12 files)Trivial (converted to
{ expect })deployments/deployments.list.test.tsdeployments/deployments.status.test.tsdeployments/deployments.view.test.tsversions.help.test.tsversions.list.test.tsversions.view.test.tsComplex (eslint-disable added)
secrets/bulk.test.tsexpectinmockPostVersioncallbacksecrets/delete.test.tsexpectinmockPostVersioncallbacksecrets/list.test.tsexpectin MSW handler callbackssecrets/put.test.tsexpectinmockPostVersioncallbackversions.deploy.test.tstest.eachpatternsversions.upload.test.tsexpectin MSW handler callbacksautoconfig/(8 files)Trivial (converted to
{ expect })get-installed-package-version.test.tsrun-summary.test.tsvite-config.test.tsdetails/confirm-auto-config-details.test.tsdetails/display-auto-config-details.test.tsComplex (eslint-disable added)
run.test.tsexpectin module-scope helper functiondetails/get-details-for-auto-config.test.tsexpectin helper functionsdetails/get-worker-name-from-project.test.tsexpectin helper functionsapi/startDevWorker/(5 files)Trivial (converted to
{ expect })utils.test.tsComplex (eslint-disable added)
BundleController.test.tsConfigController.test.tsLocalRuntimeController.test.tsRemoteRuntimeController.test.tsdeploy/(3 files)Trivial (converted to
{ expect })check-remote-secrets-override.test.tsget-config-patch.test.tsget-remote-config-diff.test.tsdev/(2 files)Trivial (converted to
{ expect })remote-bindings.test.tsremote-bindings-errors.test.tsconfig/(2 files)Trivial (converted to
{ expect })loadDotEnv.test.tsComplex (eslint-disable added)
configuration.test.tsutils/(5 files)Trivial (converted to
{ expect })create-batches.test.tsformat-message.test.tsgetValidBindingName.test.tsretry.test.tsComplex (eslint-disable added)
log-file.test.tsexpectin helper functionscore/(2 files)Trivial (converted to
{ expect })command-registration.test.tshandle-errors.test.tsmetrics/(1 file)Trivial (converted to
{ expect })sanitization.test.tsSummary Statistics
ESLint Configuration
The bucket 3 pattern added to
packages/wrangler/eslint.config.mjs:Verification
Passes with no errors related to
no-vitest-import-expectin bucket 3 directories.A picture of a cute animal (not mandatory, but encouraged)