Closed AnrDaemon closed 11 months ago
Hi, I can see 2 test failures:
1) branchDidChange should be called with undefined branch if the .git/HEAD file does contain a branch 2) branchDidChange should be called with the branch name if the .git/HEAD file contains a branch
I'm not familiar with VSCode extensions development. Can you help me please?
I've fixed the failing tests in master. Can you please rebase?
To run the tests, run the following command in the project root directory:
npm run test
Will see about it at monday. Don't have Node runtime at home.
[main 2022-11-14T07:34:53.677Z] Error: Running extension tests from the command line is currently only supported if no other instance of Code is running. at Te.claimInstance (C:\Users\Admin\Documents\gh\branch-in-window-title.vscode-test\vscode-win32-archive-1.73.1\resources\app\out\vs\code\electron-main\main.js:84:8908) at process.processTicksAndRejections (node:internal/process/task_queues:96:5) at async C:\Users\Admin\Documents\gh\branch-in-window-title.vscode-test\vscode-win32-archive-1.73.1\resources\app\out\vs\code\electron-main\main.js:84:5144 at async Te.startup (C:\Users\Admin\Documents\gh\branch-in-window-title.vscode-test\vscode-win32-archive-1.73.1\resources\app\out\vs\code\electron-main\main.js:84:4984)
Tests are failing, but I don't understand why and unable to debug. :/ Will try to do some research once I get more time, if nobody give a hand sooner.
PR rebased on current master.
This should be more useful, although you would have to restart the IDE to apply configuration changes.
Ping? Also, I'd like to request a rollback to a lower version of VS Code. 1.70 to be available on last Win7 release.
Thanks! Eagerly awaiting new release.
@AnrDaemon I have just published a new build to the VS Code Marketplace. You can grab it here: https://marketplace.visualstudio.com/items?itemName=wisetime.branch-in-window-title
Thank you for your contribution!
Added
branchInWindowTitle.branchTemplate
configuration setting.