node/test/fixtures/test-runner/print-arguments.js

6 lines
161 B
JavaScript

const { test } = require('node:test');
test('process.argv is setup', (t) => {
t.assert.deepStrictEqual(process.argv.slice(2), ['--a-custom-argument']);
});