Fixed various typos#228
Merged
GrahamCampbell merged 1 commit intomainfrom May 1, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR is a typo-cleanup pass across tests, runtime comments, user-facing error text, and documentation. It mainly improves wording consistency and readability in the Serverless Framework codebase without intentionally changing runtime behavior.
Changes:
- Corrected spelling and grammar in unit/integration test names, comments, and fixture code.
- Updated several runtime comments and one user-facing error message to use corrected terminology.
- Fixed typos across documentation pages and testing guidance.
Reviewed changes
Copilot reviewed 46 out of 46 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| test/unit/lib/utils/yaml-ast-parser.test.js | Corrects a typo in test fixture data. |
| test/unit/lib/utils/download-template-from-repo.test.js | Fixes spelling in GitHub Enterprise-related test names. |
| test/unit/lib/plugins/aws/remove/index.test.js | Corrects spelling in test descriptions. |
| test/unit/lib/plugins/aws/package/compile/events/sqs.test.js | Fixes repeated typo in SQS event test titles. |
| test/unit/lib/plugins/aws/package/compile/events/sns.test.js | Corrects spelling in SNS test descriptions. |
| test/unit/lib/plugins/aws/package/compile/events/msk/index.test.js | Fixes typo in MSK test title. |
| test/unit/lib/plugins/aws/package/compile/events/event-bridge/index.test.js | Corrects spelling in EventBridge test titles. |
| test/unit/lib/plugins/aws/package/compile/events/api-gateway/lib/validate.test.js | Fixes typo in API Gateway validation test title. |
| test/unit/lib/plugins/aws/package/compile/events/api-gateway/lib/method/index.test.js | Corrects spelling in method compilation test text. |
| test/unit/lib/plugins/aws/deploy/lib/check-for-changes.test.js | Fixes typos in explanatory test comments. |
| test/unit/lib/configuration/variables/sources/self.test.js | Corrects typo in test title. |
| test/unit/lib/configuration/variables/sources/file.test.js | Fixes multiple typos in test descriptions/comments. |
| test/unit/lib/configuration/variables/parse.test.js | Corrects spelling in variable parser test titles. |
| test/unit/lib/configuration/read.test.js | Fixes typo in configuration read test title. |
| test/unit/lib/cli/parse-args.test.js | Corrects spelling in CLI parser test descriptions. |
| test/unit/lib/classes/plugin-manager.test.js | Fixes typos in comments, descriptions, and expected error text. |
| test/unit/lib/classes/config-schema-handler/normalize-ajv-errors.test.js | Corrects typo in AJV error normalization test title. |
| test/lib/run-serverless.js | Fixes typo in setup comment. |
| test/lib/lib/private/rm-tmp-dir-ignorable-error-codes.js | Corrects typos in Windows cleanup comment. |
| test/integration/aws/infra-dependent/msk.test.js | Fixes typo in integration test log output. |
| test/integration/aws/api-gateway.test.js | Corrects wording in integration test comment. |
| test/integration-basic.test.js | Fixes typo in suite title. |
| test/fixtures/programmatic/iot-fleet-provisioning/register-device.js | Renames deferred-related variables for correct spelling. |
| test/README.md | Corrects typos in testing documentation. |
| lib/utils/serverless-utils/log.js | Fixes typo in progress reporter comment. |
| lib/utils/download-template-from-repo.js | Corrects provider name spelling in error message. |
| lib/serverless.js | Fixes typo in inline comment. |
| lib/plugins/aws/utils/format-lambda-log-event.js | Renames local variable from misspelled splitted to parts. |
| lib/plugins/aws/package/compile/functions.js | Corrects typo in comment. |
| lib/plugins/aws/custom-resources/resources/api-gateway-cloud-watch-role/handler.js | Fixes wording in comment. |
| lib/configuration/variables/resolve.js | Corrects typo in resolver comment. |
| lib/config-schema.js | Fixes spelling in schema comment. |
| lib/classes/service.js | Corrects multiple typos in comments. |
| lib/classes/plugin-manager.js | Fixes spelling in error messages. |
| lib/classes/config-schema-handler/resolve-ajv-validate.js | Corrects typo in AJV comment. |
| lib/aws/request.js | Fixes typo in JSDoc. |
| docs/guides/variables.md | Corrects wording in variables guide. |
| docs/guides/testing.md | Fixes wording in testing guide. |
| docs/guides/serverless.yml.md | Corrects typo and wording in YAML guide. |
| docs/events/websocket.md | Fixes wording in WebSocket docs. |
| docs/events/sns.md | Corrects spelling in SNS docs. |
| docs/events/s3.md | Fixes typo in S3 docs. |
| docs/events/event-bridge.md | Corrects heading wording in EventBridge docs. |
| docs/events/cloudfront.md | Fixes typo in CloudFront docs. |
| docs/events/apigateway.md | Corrects spelling in API Gateway docs. |
| commands/plugin-install.js | Fixes typo in comment. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
No description provided.