mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
move smoke to unit test
This commit is contained in:
parent
c4a1c7161f
commit
efbae5b61b
@ -16,7 +16,7 @@
|
||||
, "engine": "node >= 0.4.1"
|
||||
, "scripts": {
|
||||
"preinstall": "node-waf configure build"
|
||||
, "test": "node test/smoke.js"
|
||||
, "test": "node test/unit.js"
|
||||
}
|
||||
, "main": "./lib/opencv"
|
||||
}
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
console.log("=== SMOKE TESTS ===")
|
||||
|
||||
var vows = require('vows')
|
||||
, assert = require('assert')
|
||||
, fs = require('fs');
|
||||
@ -202,7 +200,6 @@ vows.describe('Smoke Tests OpenCV').addBatch({
|
||||
, "finds face": function(err, faces){
|
||||
assert.isNull(err);
|
||||
assert.isArray(faces);
|
||||
console.log(faces);
|
||||
assert.equal(faces.length, 1)
|
||||
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user