From a9c108ce23dcf78e304245c8831a22410888146e Mon Sep 17 00:00:00 2001 From: snh21 Date: Mon, 25 Nov 2024 16:08:33 +0100 Subject: [PATCH] lint(systests): lin fix (#1164) --- test/system-tests/commands.test.ts | 4 ++-- test/system-tests/utility/utility.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/system-tests/commands.test.ts b/test/system-tests/commands.test.ts index 513f5cac3f..34382f4540 100644 --- a/test/system-tests/commands.test.ts +++ b/test/system-tests/commands.test.ts @@ -1,10 +1,10 @@ import { assert, describe, test } from 'vitest'; -import { npmRun } from './utility/utility' +import { npmRun } from './utility/utility'; describe('commands', () => { test('flowr as server', async() => { const output = await npmRun('flowr', '--server'); - console.log("OUTPUT: " + output) + console.log('OUTPUT: ' + output); assert.isTrue(output.includes('Server listening on port')); }); }); \ No newline at end of file diff --git a/test/system-tests/utility/utility.ts b/test/system-tests/utility/utility.ts index b0133704fc..ce7090b9e5 100644 --- a/test/system-tests/utility/utility.ts +++ b/test/system-tests/utility/utility.ts @@ -1,4 +1,4 @@ -import { $, ProcessPromise, sleep } from 'zx'; +import { $, sleep } from 'zx'; export async function repl(input: string[]): Promise { const proc = $`npm run flowr`.quiet().timeout('30s'); @@ -20,7 +20,7 @@ export async function repl(input: string[]): Promise { } export async function npmRun(cmd: string, args: string): Promise { - const proc = $`npm run ${cmd} -- ${args}`.quiet(); + const proc = $`npm run ${cmd} -- ${args}`.quiet(); await sleep('5s'); await proc.kill(); return proc.text();