Skip to content

Commit

Permalink
test: windows shell test
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Jul 8, 2024
1 parent f2dd977 commit e86ab39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/config/config.shell.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import {sep} from 'node:path'

import {Config} from '../../src'

const getShell = () => osUserInfo().shell?.split(sep)?.pop() || 'unknown'
const getShell = () =>
osUserInfo().shell?.split(sep)?.pop() || process.platform === 'win32' ? 'powershell' : 'unknown'

describe('config shell', () => {
it('has a default shell', () => {
Expand Down

0 comments on commit e86ab39

Please sign in to comment.