Browse Source

fix crashing tests

content-update
Clement Denis 3 years ago committed by Clément
parent
commit
5b46cea96e
  1. 2
      js/tests/tell-it-cypher_test.mjs
  2. 2
      js/tests/tell-me-how-many_test.mjs

2
js/tests/tell-it-cypher_test.mjs

@ -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 }) => {

2
js/tests/tell-me-how-many_test.mjs

@ -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`

Loading…
Cancel
Save