generator-big-array.js
This file
Path
test/fixtures/nested/generator-big-array.js
4 lines · 209 bytes · JavaScript
Last changed by
Refactor test helpers for the `verbose` option (#1128)ehmickybefore adoption18d320f
History of this fileTake it
Refactor test helpers for the `verbose` option (#1128)ehmickybefore adoption18d320f
lines 1–4why, one step back1import {getOutputGenerator} from '../../helpers/generator.js';23const bigArray = Array.from({length: 100}, (_, index) => index);4export const getOptions = () => ({stdout: getOutputGenerator(bigArray)(true)});