Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
2210ed4f
Commit
2210ed4f
authored
Nov 15, 2017
by
Alexander Alekhin
Committed by
Alexander Alekhin
Nov 16, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
js: fix tests (qunit -> node-qunit)
parent
55dabd28
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
package.json
modules/js/test/package.json
+2
-2
tests.js
modules/js/test/tests.js
+6
-1
No files found.
modules/js/test/package.json
View file @
2210ed4f
...
...
@@ -3,7 +3,7 @@
"description"
:
"Tests for opencv js bindings"
,
"version"
:
"1.0.0"
,
"dependencies"
:
{
"qunit"
:
"latest"
"
node-
qunit"
:
"latest"
},
"devDependencies"
:
{
"eslint"
:
"latest"
,
...
...
@@ -18,7 +18,7 @@
},
"keywords"
:
[],
"author"
:
""
,
"license"
:
"BSD-
4
-Clause"
,
"license"
:
"BSD-
3
-Clause"
,
"bugs"
:
{
"url"
:
"https://github.com/opencv/opencv/issues"
},
...
...
modules/js/test/tests.js
View file @
2210ed4f
...
...
@@ -38,7 +38,7 @@
// the use of this software, even if advised of the possibility of such damage.
//
let
testrunner
=
require
(
'qunit'
);
let
testrunner
=
require
(
'
node-
qunit'
);
testrunner
.
options
.
maxBlockDuration
=
20000
;
// cause opencv_js.js need time to load
testrunner
.
run
(
...
...
@@ -49,5 +49,10 @@ testrunner.run(
},
function
(
err
,
report
)
{
console
.
log
(
report
.
failed
+
' failed, '
+
report
.
passed
+
' passed'
);
if
(
report
.
failed
)
{
process
.
on
(
'exit'
,
function
()
{
process
.
exit
(
1
);
});
}
}
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment