Fixed tests

This commit is contained in:
Christoph Oberhofer
2016-06-19 16:55:29 +02:00
parent ec8f4377c1
commit b9efb07456
6 changed files with 243 additions and 239 deletions
+1 -1
View File
@@ -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);