1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2025-05-18 12:02:53 +02:00

fix(cli): changes to input/output should run all affected tests

This commit is contained in:
Divlo
2021-11-10 18:57:10 +01:00
parent 17efe8a113
commit d18ca22470
5 changed files with 47 additions and 6 deletions

View File

@ -5,7 +5,7 @@ import chalk from 'chalk'
import { Solution } from '../../services/Solution'
import { GitAffected } from '../../services/GitAffected'
import { template } from '../../services/Template'
import { Test, successMessage } from '../../services/Test'
import { Test } from '../../services/Test'
export class RunTestCommand extends Command {
static paths = [['run', 'test']]
@ -78,7 +78,7 @@ export class RunTestCommand extends Command {
programmingLanguageName: this.programmingLanguage
})
await solution.test()
console.log(successMessage)
console.log(Test.successMessage)
return 0
} catch (error) {
if (error instanceof Error) {