async function runSample(sample, args = []) {
  return execFileSync('node', [`${sample}.js`, ...args], {
    encoding: 'utf-8',
    cwd: path.join(__dirname, '..', '..'),
  });
}
Runs a sample and returns its output

@param {string} sample name of sample to run. No need for '.js' suffix.
@param {string[]} args the arguments to pass to the sample
@returns {string} output of the command