Skip to content

chore: update launch configuration #2587

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 4, 2025

Conversation

sy-records
Copy link
Member

Summary

Related issue, if any:

Close #2103

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

For any code change,

  • Related documentation has been updated, if needed
  • Related tests have been added or updated, if needed

Does this PR introduce a breaking change?

  • Yes
  • No

Tested in the following browsers:

  • Chrome
  • Firefox
  • Safari
  • Edge

Copy link

vercel bot commented Jul 31, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docsify-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 4, 2025 2:46am

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the VS Code launch configuration to standardize how tests are executed and adds a mock for scrollIntoView in the Jest test setup.

  • Standardizes all test launch configurations to use npm run test:jest instead of mixed approaches
  • Adds a mock implementation for HTMLElement.prototype.scrollIntoView in Jest setup
  • Removes duplicate -- argument separators in some configurations

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.vscode/launch.json Updates all test configurations to use consistent npm script execution pattern
test/config/jest.setup-tests.js Adds scrollIntoView mock for DOM testing compatibility

@sy-records sy-records merged commit be53467 into docsifyjs:develop Aug 4, 2025
8 checks passed
@sy-records sy-records deleted the fix/vscode branch August 4, 2025 02:52
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.

vscode launch.json scripts are broken
1 participant