Fixed tests

This commit is contained in:
Christoph Oberhofer
2016-02-28 20:51:07 +01:00
parent e1223bdad5
commit aabb555e8c
7 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
const ArrayHelper = require('../../src/array_helper');
const ArrayHelper = require('../../src/common/array_helper');
describe('init', function() {
it('initializes an array with the given value', function() {
+2 -2
View File
@@ -1,5 +1,5 @@
const BarcodeLocator = require('../../src/barcode_locator');
const Config = require('../../src/config');
const BarcodeLocator = require('../../src/locator/barcode_locator');
const Config = require('../../src/config/config');
const merge = require('lodash/object/merge');
describe('checkImageConstraints', function() {
+1 -1
View File
@@ -1,4 +1,4 @@
const CameraAccess = require('../../src/camera_access');
const CameraAccess = require('../../src/input/camera_access');
var originalURL,
originalMediaStreamTrack,
+1 -1
View File
@@ -1,4 +1,4 @@
const CVUtils = require('../../src/cv_utils');
const CVUtils = require('../../src/common/cv_utils');
describe('imageRef', function() {
it('gets the image Reference for a coordinate', function() {
+1 -1
View File
@@ -1,4 +1,4 @@
const Events = require('../../src/events');
const Events = require('../../src/common/events');
beforeEach(function() {
Events.unsubscribe();
+2 -2
View File
@@ -1,5 +1,5 @@
const ResultCollector = require('../../src/result_collector');
const ImageDebug = require('../../src/image_debug');
const ResultCollector = require('../../src/analytics/result_collector');
const ImageDebug = require('../../src/common/image_debug');
var canvasMock,
imageSize,