fix crashing tests

This commit is contained in:
Clement Denis 2021-03-11 02:13:55 +00:00 committed by Clément
parent 396cd4a71f
commit 5b46cea96e
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ export const setup = async ({ path }) => {
return { data: fileContent }
}
return { tmpPath: dir, run, encoded, decoded }
return { tmpPath: dir, run }
}
tests.push(async ({ path, eq, ctx }) => {

View File

@ -7,7 +7,7 @@ import { promisify } from 'util'
const exec = promisify(cp.exec)
export const tests = []
export const setup = async ({ path }) => {
export const setup = async ({ path, between }) => {
const randomFilesNumber = between(30, 6)
const dir = `${tmpdir()}/tell-me-how-many`