-
Notifications
You must be signed in to change notification settings - Fork 575
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
[WIP] Debug tests #1131
base: main
Are you sure you want to change the base?
[WIP] Debug tests #1131
Conversation
|
jest.config.js
Outdated
setupFiles: ["<rootDir>/src/__mocks__/jest.setup.ts"], | ||
// reporters: [["jest-simple-dot-reporter", {}]], | ||
setupFilesAfterEnv: ["<rootDir>/jest.setup.ts"], | ||
randomize: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 'randomize: true' option is not a standard Jest configuration property. Please verify if this is supported by a custom test sequencer or intended—otherwise consider removing it.
randomize: true, |
@@ -55,8 +55,10 @@ jobs: | |||
cache: 'npm' | |||
- name: Install dependencies | |||
run: npm run install:all | |||
- name: Setup upterm session | |||
uses: lhotari/action-upterm@v1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider pinning the version of the upterm action to a specific commit hash instead of using a floating tag ('v1'). This helps ensure stability and minimizes security risks.
Description
Type of change
How Has This Been Tested?
Checklist:
Additional context
Related Issues
Reviewers
Important
Debug tests by modifying GitHub Actions, Jest configurations, and adding logging for debugging purposes.
code-qa.yml
to runjest
tests with--runInBand
fortest-extension
andtest-webview
jobs.lhotari/action-upterm@v1
totest-extension
job for debugging.jest-simple-dot-reporter
injest.config.js
andwebview-ui/jest.config.cjs
.applyGitFallback()
inedit-strategies.ts
for debugging."should return original content with 0 confidence when changes cannot be applied"
inedit-strategies.test.ts
.console.log
statements inLocalCheckpointService.test.ts
for performance measurement and debugging.This description was created by
for c1f93dd. It will automatically update as commits are pushed.