Initial commit: Epson ePOS Node backend + Vue3 UI (printer matricial2)
This commit is contained in:
14
scripts/tests/07_pulse.js
Normal file
14
scripts/tests/07_pulse.js
Normal file
@@ -0,0 +1,14 @@
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user