Added scanning barcodes with a camera

This commit is contained in:
2026-03-08 16:59:33 +00:00
parent b4f8489834
commit 5a37e5dd5f
404 changed files with 224181 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
const { describe, it } = require('mocha');
const { expect } = require('chai');
const Q = require('..');
const Q2 = require('..').default;
describe('testing node require', () => {
it('require works', () => {
expect(Q).to.be.an('object');
expect(Q.init).to.be.a('function');
expect(Q.start).to.be.a('function');
expect(Q.stop).to.be.a('function');
});
it('require default works', () => {
expect(Q2).to.be.an('object');
expect(Q.init).to.be.a('function');
expect(Q.start).to.be.a('function');
expect(Q.stop).to.be.a('function');
});
});