Skip to content

Commit df0a10c

Browse files
committed
make slightly more generic
1 parent 4cdd55b commit df0a10c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

client/runner.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
import * as config from './config.mjs'
3-
import { makeCacheTest, testResults } from './test.mjs'
3+
import { makeTest, testResults } from './test.mjs'
44

55
const testArray = []
66

@@ -34,7 +34,7 @@ function runSome (tests, chunkSize) {
3434
let index = 0
3535
function next () {
3636
if (index < tests.length) {
37-
const these = tests.slice(index, index + chunkSize).map(makeCacheTest)
37+
const these = tests.slice(index, index + chunkSize).map(makeTest)
3838
index += chunkSize
3939
Promise.all(these).then(next)
4040
} else {

client/test.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const setupCheck = clientUtils.setupCheck
1111
export const testUUIDs = {}
1212
export const testResults = {}
1313

14-
export function makeCacheTest (test) {
14+
export function makeTest (test) {
1515
return new Promise((resolve, reject) => {
1616
const uuid = utils.token()
1717
testUUIDs[test.id] = uuid

0 commit comments

Comments
 (0)