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
12345678#!/usr/bin/env nodeimport process from 'node:process';import {execa} from '../../index.js';import {outputObjectGenerator} from '../helpers/generator.js';
const [options, file, ...args] = process.argv.slice(2);await execa(file, args, {stdout: outputObjectGenerator(), ...JSON.parse(options)});