mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-12 21:21:42 +08:00
Fixed tests
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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,4 +1,4 @@
|
||||
const CameraAccess = require('../../src/camera_access');
|
||||
const CameraAccess = require('../../src/input/camera_access');
|
||||
|
||||
var originalURL,
|
||||
originalMediaStreamTrack,
|
||||
|
||||
@@ -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,4 +1,4 @@
|
||||
const Events = require('../../src/events');
|
||||
const Events = require('../../src/common/events');
|
||||
|
||||
beforeEach(function() {
|
||||
Events.unsubscribe();
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user