Skip to content

Commit a2ef748

Browse files
fix[cli-test]: update buffer type in tests (#2411)
1 parent ff03f78 commit a2ef748

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/cli-test/src/cli/shell.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ describe('shell module', () => {
1212
let spawnSpy: sinon.SinonStub;
1313
let spawnProcess: child.ChildProcessWithoutNullStreams;
1414
let runSpy: sinon.SinonStub;
15-
let runOutput: child.SpawnSyncReturns<Buffer>;
15+
let runOutput: child.SpawnSyncReturns<Buffer<ArrayBuffer>>;
1616

1717
beforeEach(() => {
1818
spawnProcess = mockProcess();

packages/cli-test/src/cli/shell.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ export const shell = {
105105
*/
106106
checkIfFinished: async function checkIfFinished(proc: ShellProcess): Promise<void> {
107107
return new Promise((resolve, reject) => {
108-
// biome-ignore lint/style/useConst: closing over timeout variable
109108
let timeout: NodeJS.Timeout;
110109

111110
const killIt = (reason: string) => {

0 commit comments

Comments
 (0)