face-recognition.js/public_html/js/tracking.js/test/utils/sandbox.js

19 lines
470 B
JavaScript
Raw Normal View History

'use strict';
var nodeunit = require('nodeunit');
var context = nodeunit.utils.sandbox(['build/tracking.js', 'build/data/eye.js', 'build/data/face.js', 'build/data/mouth.js'], {
Float32Array: Float32Array,
Float64Array: Float64Array,
Int16Array: Int16Array,
Int32Array: Int32Array,
Int8Array: Int8Array,
Uint8ClampedArray: Uint8ClampedArray,
Uint32Array: Uint32Array,
navigator: {},
tracking: {},
window: {}
});
module.exports = context.tracking;