nested-object.js
This file
Path
test/fixtures/nested-object.js
7 lines · 298 bytes · JavaScript
Last changed by
Refactor tests (#934)ehmickybefore adoption52c4bde
History of this fileTake it
Print output with `verbose` option (#884)ehmickybefore adoption6fda30f
lines 1–6why, one step back1#!/usr/bin/env node2import process from 'node:process';3import {execa} from '../../index.js';4import {outputObjectGenerator} from '../helpers/generator.js';56const [options, file, ...args] = process.argv.slice(2);Refactor tests (#934)ehmickybefore adoption52c4bde
line 7why, one step back7await execa(file, args, {stdout: outputObjectGenerator(), ...JSON.parse(options)});