From 83d5c900fd429734a1cc64466caf2571e9bb9900 Mon Sep 17 00:00:00 2001 From: "Grigorii K. Shartsev" Date: Tue, 30 Apr 2024 11:09:16 +0200 Subject: [PATCH] fixup! test: add `usePwsh` unit test Signed-off-by: Grigorii K. Shartsev --- test/core.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/core.test.js b/test/core.test.js index 7de0863636..40bf27c8a5 100644 --- a/test/core.test.js +++ b/test/core.test.js @@ -18,7 +18,7 @@ import { inspect } from 'node:util' import { basename } from 'node:path' import { Readable, Writable } from 'node:stream' import { Socket } from 'node:net' -import { ProcessPromise, ProcessOutput, quotePowerShell } from '../build/index.js' +import { ProcessPromise, ProcessOutput } from '../build/index.js' import '../build/globals.js' describe('core', () => { @@ -593,5 +593,6 @@ describe('core', () => { assert.equal($.postfix, '; exit $LastExitCode') assert.equal($.quote, quotePowerShell) which.sync = originalWhichSync + useBash() }) })