bats-mode
bats-mode copied to clipboard
Remove TRAMP's prefix when running tests
This update allows bats-mode
to run tests on remote files accessed via TRAMP. I manually tested and confirmed that Bats runs over SSH using TRAMP.
Changes:
- Added
bats-remove-tramp-prefix
to handle TRAMP file paths inbats-mode
, enabling remote test execution. - Modified
bats-run
andbats-run-current-test
to utilize this function, ensuring compatibility with TRAMP.