UNPKG

qrcoder

Version:

QRCoder is *a pure browser qrcode generation* which is standalone. It is based on a <a href='http://www.d-project.com/qrcode/index.html'>library</a> which build qrcode in various language.

16 lines (11 loc) 393 B
import chai from 'chai' import sinonChai from 'sinon-chai' chai.use(sinonChai) global.chai = chai global.assert = chai.assert global.expect = chai.expect global.should = chai.should() const testsContext = require.context('./', true, /\.spec\.js$/) testsContext.keys().forEach(testsContext) const srcContext = require.context('../src/', true, /\.js$/) srcContext.keys().forEach(srcContext)