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

fix(cli): add timeout for running solutions

This commit is contained in:
Divlo
2021-12-07 11:35:47 +01:00
parent 938702c23f
commit 0b59c19885
10 changed files with 638 additions and 284 deletions

View File

@ -1,2 +1,3 @@
const ONE_MINUTE_IN_MILLISECONDS = 60 * 1000
jest.setTimeout(ONE_MINUTE_IN_MILLISECONDS)
import { Docker } from '../services/Docker'
jest.setTimeout(Docker.MAXIMUM_TIMEOUT_MILLISECONDS)