Skip to content

fix!: throw an error if hoistable methods are outside the top level scope - #10460

Merged
sheremet-va merged 7 commits into
mainfrom
fix/throw-error-if-hoisted-not-top-level
May 30, 2026
Merged

sheremet-va merged 7 commits into
mainfrom
fix/throw-error-if-hoisted-not-top-level

Conversation

@sheremet-va

Copy link
Copy Markdown
Member

Description

Resolves #issue-number

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

  • It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
  • Ideally, include a test that fails without this PR but passes with it.
  • Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.
  • Please check Allow edits by maintainers to make review process faster. Note that this option is not available for repositories that are owned by Github organizations.

Tests

  • Run the tests with pnpm test:ci.

Documentation

  • If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

  • Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

@netlify

netlify Bot commented May 26, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for vitest-dev ready!

Name Link
🔨 Latest commit 8187671
🔍 Latest deploy log https://app.netlify.com/projects/vitest-dev/deploys/6a19905280e52e00083ce25c
😎 Deploy Preview https://deploy-preview-10460--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@sheremet-va
sheremet-va requested a review from AriPerkkio May 26, 2026 15:25
Comment thread packages/mocker/src/node/hoistMocks.ts Resolved
Comment thread packages/mocker/src/node/hoistMocks.ts Resolved
@sheremet-va
sheremet-va merged commit d0b4fdd into main May 30, 2026
16 of 18 checks passed
@sheremet-va
sheremet-va deleted the fix/throw-error-if-hoisted-not-top-level branch May 30, 2026 08:23
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants