mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-13 05:31:37 +08:00
Fixed tests
This commit is contained in:
@@ -47,7 +47,7 @@ describe('decodeSingle', function () {
|
||||
config.readers = readers;
|
||||
Quagga
|
||||
.config(config)
|
||||
.fromImage(config.src)
|
||||
.fromSource(config.src)
|
||||
.addEventListener('processed', function(result){
|
||||
console.log(sample.name);
|
||||
expect(result.codeResult.code).to.equal(sample.result);
|
||||
|
||||
Reference in New Issue
Block a user