Skip to content

Commit

Permalink
fix type error >= tsc@3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
dmonad committed Sep 4, 2019
1 parent 6e75297 commit 7d5db91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ export const compareDS = (ds1, ds2) => {
*/
export const applyRandomTests = (tc, mods, iterations, initTestObject) => {
const gen = tc.prng
const result = init(tc, { users: 5 }, initTestObject || (() => null))
const result = init(tc, { users: 5 }, initTestObject)
const { testConnector, users } = result
for (let i = 0; i < iterations; i++) {
if (prng.int31(gen, 0, 100) <= 2) {
Expand Down

0 comments on commit 7d5db91

Please sign in to comment.