mirror of
https://github.com/stablyai/orca.git
synced 2026-09-27 08:02:35 +00:00
14 lines
493 B
TypeScript
14 lines
493 B
TypeScript
import { describe, expect, it } from 'vitest'
|
|
import { buildSetupRunnerCommand } from './setup-runner-command'
|
|
|
|
describe('buildSetupRunnerCommand', () => {
|
|
it('uses bash for WSL UNC runner scripts regardless of host casing', () => {
|
|
expect(
|
|
buildSetupRunnerCommand(
|
|
'\\\\WSL.LOCALHOST\\Ubuntu\\home\\jin\\repo\\.git\\worktrees\\feature\\orca\\setup-runner.sh',
|
|
'windows'
|
|
)
|
|
).toBe('bash /home/jin/repo/.git/worktrees/feature/orca/setup-runner.sh')
|
|
})
|
|
})
|