const { post, ensureOk } = require('./common');

async function run() {
  const data = await post('/api/print/pulse', { drawer: 'drawer_1', time: 'pulse_200' });
  console.log('07_pulse ->', data);
  ensureOk(data, '07_pulse');
}

if (require.main === module) {
  run().catch((e) => { console.error(e.message); process.exit(1); });
}

module.exports = run;

