1
0
mirror of https://github.com/theoludwig/programming-challenges.git synced 2025-12-11 00:21:24 +01:00

chore: maintenance

This commit is contained in:
Divlo
2022-02-19 18:30:29 +01:00
parent bc1d34f126
commit 696de1580d
35 changed files with 3421 additions and 4107 deletions

View File

@@ -6,8 +6,8 @@ import ora from 'ora'
import chalk from 'chalk'
import { table } from 'table'
import { Solution } from './Solution'
import { docker } from './Docker'
import { Solution } from './Solution.js'
import { docker } from './Docker.js'
export interface InputOutput {
input: string
@@ -49,7 +49,7 @@ export class Test implements TestOptions {
this.elapsedTimeMilliseconds = options.elapsedTimeMilliseconds
}
static async printResult (tests: Test[]): Promise<void> {
static printResult (tests: Test[]): void {
const tableResult = [
[
chalk.bold('N°'),
@@ -120,7 +120,7 @@ export class Test implements TestOptions {
throw error
}
}
await Test.printResult(tests)
Test.printResult(tests)
}
static async getInputOutput (testPath: string): Promise<InputOutput> {