Closed sweep-ai[bot] closed 1 year ago
workbench/features/workstation/workstation.test.ts
✓
Sandbox logs for https://github.com/reconsumeralization/CodeCurse/commit/9b926dd7928ce9249f6cee89c59bd3778688360c
trunk init
1/3 ✓⡿ Downloading Trunk 1.17.1... ⡿ Downloading Trunk 1.17.1... ⢿ Downloading Trunk 1.17.1... ⣻ Downloading Trunk 1.17.1... ⣽ Downloading Trunk 1.17.1... ⣾ Downloading Trunk 1.17.1... ⣷ Downloading Trunk 1.17.1... ✔ Downloading Trunk 1.17.1... done ⡿ Verifying Trunk sha256... ✔ Verifying Trunk sha256... done ⡿ Unpacking Trunk... ✔ Unpacking Trunk... done ✔ 15 linters were enabled (.trunk/trunk.yaml) actionlint 1.6.26 (2 github-workflow files) checkov 3.0.19 (1 docker, 8 json, 11 yaml files) git-diff-check (188 files) hadolint 2.12.0 (1 docker file) (created .hadolint.yaml) markdownlint 0.37.0 (12 markdown files) (created .markdownlint.yaml) osv-scanner 1.4.3 (1 lockfile file) oxipng 9.0.0 (3 png files) prettier 3.0.3 (2 javascript, 8 json, 12 markdown, 68 typescript, 11 yaml files) shellcheck 0.9.0 (55 shell files) (created .shellcheckrc) shfmt 3.6.0 (55 shell files) svgo 3.0.2 (11 svg files) (created svgo.config.js) terrascan 1.18.3 (1 docker file) trivy 0.46.1 (1 docker, 11 yaml files) trufflehog 3.62.1 (189 files) yamllint 1.32.0 (11 yaml files) (created .yamllint.yaml) Next Steps 1. Read documentation Our documentation can be found at https://docs.trunk.io 2. Get help and give feedback Join the Trunk community at https://slack.trunk.io
trunk fmt workbench/features/workstation/workstation.test.ts || exit 0
2/3 ✓✔ Formatted workbench/features/workstation/workstation.test.ts Re-checking autofixed files... Checked 1 file ✔ No issues
trunk check --fix --print-failures workbench/features/workstation/workstation.test.ts
3/3 ✓Checked 1 file ✔ No issues
Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword
link
(e.g. "Link T-123").💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.
PR Feedback (click)
Description
This PR adds unit tests for the features in the workstation directory and other relevant files in the repository. It ensures comprehensive test coverage for all the features and improves the overall code quality.
Summary of Changes
workbench/features/workstation/workstation.test.ts
workbench/features/extensions/comments.test.ts
workbench/features/codemirror/codemirror.test.ts
workbench/features/comment/comment.test.ts
workbench/features/extensions/activeLineGutter.test.ts
workbench/features/extensions/autocomplete.test.ts
workbench/features/extensions/cmdZBar.test.ts
workbench/features/extensions/diff.test.ts
workbench/features/extensions/ghostText.test.ts
workbench/features/extensions/hackDiff.test.ts
workbench/features/extensions/indentLines.test.ts
workbench/features/extensions/lsp.test.ts
workbench/features/extensions/minimap.test.ts
workbench/features/extensions/newLineText.test.ts
workbench/features/extensions/selectionTooltip.test.ts
workbench/features/extensions/storePane.test.ts
workbench/features/extensions/syntax.test.ts
workbench/features/fixLSP/fixLSP.test.ts
workbench/features/generation/generate.test.ts
workbench/features/linter/extension.test.ts
workbench/features/linter/fixLSPExtension.test.ts
workbench/features/linter/lint.test.ts
workbench/features/logging/logging.test.ts
workbench/features/lsp/languageServer.test.ts
workbench/features/lsp/lspPlugin.test.ts
workbench/features/lsp/stdioClient.test.ts
workbench/features/window/fileUtils.test.ts
workbench/features/window/state.test.ts
Please review and merge this PR to improve the test coverage and code quality of the repository.
Fixes #14.
🎉 Latest improvements to Sweep:
rope
library to refactor Python! Check out Large Language Models are Bad at Refactoring Code. To have Sweep refactor your code, trysweep: Refactor <your_file>.py to be more modular
!💡 To get Sweep to edit this pull request, you can: